<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to unable to abbreviate datafile subcommand for set/show command because of overlapping with data subcommand</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/3079acc120/</link><description>Recent posts to unable to abbreviate datafile subcommand for set/show command because of overlapping with data subcommand</description><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5924/thread/3079acc120/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 09 Jul 2021 10:15:09 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5924/thread/3079acc120/feed.rss" rel="self" type="application/rss+xml"/><item><title>unable to abbreviate datafile subcommand for set/show command because of overlapping with data subcommand</title><link>https://sourceforge.net/p/gnuplot/discussion/5924/thread/3079acc120/?limit=25#fd8e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently (commit a8a8a8) the abbreviation of &lt;code&gt;datafile&lt;/code&gt; subcommand for &lt;code&gt;set&lt;/code&gt;/&lt;code&gt;show&lt;/code&gt; commands is "&lt;em&gt;data&lt;/em&gt;" (&lt;a class="" href="https://sourceforge.net/p/gnuplot/gnuplot-main/ci/a8a8a88d77a77f3af047f5b4d0444737a6837c67/tree/src/tables.c#l190"&gt;ref&lt;/a&gt;).&lt;br/&gt;
Since it overlaps with the string "&lt;em&gt;data&lt;/em&gt;" of &lt;code&gt;data&lt;/code&gt; subcommand (&lt;a class="" href="https://sourceforge.net/p/gnuplot/gnuplot-main/ci/a8a8a88d77a77f3af047f5b4d0444737a6837c67/tree/src/tables.c#l188"&gt;ref&lt;/a&gt;), &lt;code&gt;datafile&lt;/code&gt; subcommand is unable to be abbreviated (gnuplot utility fails with "unrecognized option").&lt;/p&gt;
&lt;p&gt;I suggest defining a string "&lt;strong&gt;df&lt;/strong&gt;" or "&lt;strong&gt;datf&lt;/strong&gt;" as the abbreviation of datafile subcommand.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="gd"&gt;-{ "data$file", S_DATAFILE },&lt;/span&gt;
&lt;span class="gi"&gt;+{ "datafile", S_DATAFILE },&lt;/span&gt;
&lt;span class="gi"&gt;+{ "df", S_DATAFILE },&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">B̅</dc:creator><pubDate>Fri, 09 Jul 2021 10:15:09 -0000</pubDate><guid>https://sourceforge.neta0c13b5728245aa1cd3ec2d69b0ef957080fdc41</guid></item></channel></rss>