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

Re: zsh not accepting commandline args at end of command



Eric Smith wrote:
> 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/

In that case, you probably have POSIXLY_CORRECT set in the environment
for zsh.

% POSIXLY_CORRECT= =ls . -F
/home/pws/solaris8/bin/ls: -F: No such file or directory
.:
Master-16-14-bc2x.xcd  msg.html
% =ls . -F
Master-16-14-bc2x.xcd  msg.html

-- 
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
**********************************************************************



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