Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh not accepting commandline args at end of command



Thanks

But is weems to be using the same ls
[eric@apple ~]  $ which ls
/bin/ls
[eric@apple ~]  $ /bin/ls /tmp -F
/bin/ls: -F: No such file or directory
/tmp:
ssh-XXUIWy1q  v235390
[eric@apple ~]  $ exit

now in bash:
eric@apple:~$ /bin/ls /tmp -F
ssh-XXUIWy1q/  v235390/


Peter Stephenson said:
> Eric Smith wrote:
> > eric@apple:~$ ls /tmp -F
> > ssh-XXUIWy1q/  v235390/
> 
> This is apparently the GNU ls behaviour.  (I think it's pretty yukky, but
> never mind.)
> 
> > [eric@apple ~]  $ ls /tmp -F
> > ls: -F: No such file or directory
> 
> This is standard with many other variants of ls.
> 
> Are the paths different in zsh and bash?
> 
> -- 
> Peter Stephenson <pws@xxxxxxx>                  Software Engineer
> CSR Ltd., Science Park, Milton Road,
> Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************

-- 
Eric Smith



Messages sorted by: Reverse Date, Date, Thread, Author