Looks like CRLF (DOS files) cause it to barf.  Here's a simple example,
where I use vi to set it to dos (:se fileformat=dos), then back to unix (:se
fileformat=unix)

codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> cat file
This is a file

With multiple lines

to test fish

will it work?
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> echo (cat file)
 will it work? lines
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> file file
file: ASCII text, with CRLF line terminators
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> vi file
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> echo (cat file)
This is a file  With multiple lines  to test fish  will it work?
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841> file file
file: ASCII text
codemon...@daves-mbp ~/D/fio-bugreport-20100330_111841>



On Tue, Mar 30, 2010 at 2:08 PM, Isaac Dupree <
[email protected]> wrote:

> On 03/30/10 06:39, Stefano Sabatini wrote:
> > prog --opt (cat FILE)
> >
> > doesn't work as the output of the command is not put into a single
> > argument (as it may contain newlines, spaces, etc.)
>
> Yes, it does work: Fish never expands on white-space.
>
> (On the other hand, it is still annoying that fish doesn't let you put
> expansions inside quotes -- just for syntactical convenience inside
> longer quoted strings, not because it does anything different there...)
>
> -Isaac
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to