Thread: Re: [Fish-users] lpr copies option
Status: Beta
Brought to you by:
liljencrantz
From: Daniel B. <nas...@gm...> - 2014-02-10 01:23:22
|
[I forgot to Cc the mailing list with this, so sorry about the duplicate message, Bryan.] Since the hash mark # seems to simply start a comment in fish, it needs to be escaped in order to allow the command to use it. Otherwise your command would end up being something like lpr -, which makes sense that it would be unrecognized. Is there an issue with either using lpr -\# copies or lpr "-#" copies for your command? Either one seems to produce the same response as bash does with lpr -# copies. It seems from what I can tell that bash only begins a comment when the hash mark # begins a "word", or rather, has a space/newline before it, while fish will begin a comment with any unescaped unquoted hash. --- Daniel Barnes On Sun, Feb 9, 2014 at 5:41 PM, Bryan Kilgallin <br...@ne...> wrote: > The "lpr" command prints files. It has a "-#" option that sets the > number of copies to print. > > This option is available in BASH. > > But unfortunately FISH does not recognise it. So I get the "unknown > option" error message. > -- > www.netspeed.com.au/bryan/ > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Fish-users mailing list > Fis...@li... > https://lists.sourceforge.net/lists/listinfo/fish-users > |