{"id":40107,"date":"2015-11-16T13:09:00","date_gmt":"2015-11-16T13:09:00","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=40107"},"modified":"2015-12-17T01:10:09","modified_gmt":"2015-12-17T01:10:09","slug":"program-of-the-month-sfpldb-and-sfplas","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2015\/11\/16\/program-of-the-month-sfpldb-and-sfplas\/","title":{"rendered":"Program of the month: sfpldb and sfplas"},"content":{"rendered":"<p><a href=\"\/RSF\/sfpldb.html\">sfpldb<\/a> and <a href=\"\/RSF\/sfplas.html\">splas<\/a> are utilities for debugging Vplot files by converting them to the plain text (ASCII) form. <strong>pldb<\/strong> (plot debugger) converts a Vplot file to a text form, <strong>plas<\/strong> (plot assembler) converts the text form back to the Vplot format.<\/p>\n<p>Suppose, for example, that your Vplot file has a typo in the label which spells <tt>Dept<\/tt> instead of <tt>Depth<\/tt>. Here is a Unix one-liner for fixing the label:<\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre >\n< file.vpl sfpldb | sed s\/Dept\/Depth\/ | sfplas > fixed.vpl\n<\/pre><\/div>\n<p>Here the Unix line editor <strong>sed<\/strong> gets sandwiched between <strong>sfpldb<\/strong> and <strong>sfplas<\/strong>.<\/p>\n<p>These programs were initinally developed by Vplot&#8217;s original author, Joe Dellinger.<\/p>\n<h3 id=\"10previousprogramsofthemonth\">10 previous programs of the month:<\/h3>\n<ul>\n<li><a href=\"\/blog\/2015\/10\/15\/program-of-the-month-sfisolr2\/\">sfisolr2<\/a><\/li>\n<li><a href=\"\/blog\/2015\/09\/14\/program-of-the-month-sfsimilarity\/\">sfsimilarity<\/a><\/li>\n<li><a href=\"\/blog\/2015\/07\/10\/program-of-the-month-sfmutter\/\">sfmutter<\/a><\/li>\n<li><a href=\"\/blog\/2015\/06\/10\/program-of-the-month-sfintbin\/\">sfintbin<\/a><\/li>\n<li><a href=\"\/blog\/2015\/05\/01\/program-of-the-month-sfbox\/\">sfbox<\/a><\/li>\n<li><a href=\"\/blog\/2015\/04\/21\/program-of-the-month-sfslant\/\">sfslant<\/a><\/li>\n<li><a href=\"\/blog\/2015\/03\/04\/program-of-the-month-sfgrey\/\">sfgrey<\/a><\/li>\n<li><a href=\"\/blog\/2015\/03\/01\/program-of-the-month-sfhistogram\/\">sfhistogram<\/a><\/li>\n<li><a href=\"\/blog\/2015\/01\/30\/program-of-the-month-sfmf\/\">sfmf<\/a><\/li>\n<li><a href=\"\/blog\/2014\/12\/01\/program-of-the-month-sfbin\/\">sfbin<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>sfpldb and splas are utilities for debugging Vplot files by converting them to the plain text (ASCII) form. pldb (plot debugger) converts a Vplot file to a text form, plas (plot assembler) converts the text form back to the Vplot format. Suppose, for example, that your Vplot file has a typo in the label which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-40107","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/40107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=40107"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/40107\/revisions"}],"predecessor-version":[{"id":41643,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/40107\/revisions\/41643"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=40107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=40107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=40107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}