[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls : call via 'tcsh -c ls' (cygwin)
From: |
Eric Blake |
Subject: |
Re: ls : call via 'tcsh -c ls' (cygwin) |
Date: |
Thu, 08 Dec 2005 20:47:00 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to J.B.W.Webber on 12/8/2005 5:28 PM:
>
> Probably not a bug, just a 'feature' that is
> biting me :
> I am calling ls from a high-level language : Apl :
> MicroApl's AplX
> (free download : http://www.microapl.co.uk/APL/index.html )
If it is a bug, it is in AplX and not in coreutils.
> .quad Host 'c:\cygwin\bin\tcsh.exe -c /bin/ls'
>
>
> I am getting a directory listing, but there are no separators
> between the file names :
> List.htmltsttxt.txtwaterhorse.co.htmlweb-page_search-list.txt
It looks like the Apl tool is stripping \n characters from the output of ls.
>
> I have checked numerically for any non printing spacers and see nothing.
> I believe that ls has worked fine, called this way, in the past.
>
> Other programs, such as catting a file etc., work fine, with the expected
> CR characters.
ls does NOT output CR characters; POSIX does not permit that. Typically,
Windows tools in general do not interact very well with POSIX tools. You
are probably going to find more help by asking on a list that deals with
Windows issues (such as cygwin), or taking the issue to the Apl providers,
rather than here.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDmP4084KuGfSFAYARAjN7AJ4447T9sP9XQHVzsTEP5Oh8MhF8QACgwxJ3
QQ1XftGerHmjElFyJYlBLGQ=
=3cDc
-----END PGP SIGNATURE-----