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

Re: PATCH: perform expansion for precommand modifiers



On Apr 27,  9:40am, Peter Stephenson wrote:
}
} +  (\exec /bin/sh -c 'echo Test one'; print Not reached)
} +  ('exec' /bin/sh -c 'echo Test two'; print Not reached)
} +0:exec with quotes
} +>Test one
} +>Test two

This isn't testing the right thing.  The complaint was that the -c option
of exec was treated as a command name if the keyword was quoted.

Similarly for "command -p" which now that I try it is still broken:

torch% \command -p echo
zsh: command not found: -p



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