On Sat, May 02, 2009 at 03:43:12PM +0200, Christoph Egger wrote: > $ ssh somesud...@host sudo egrep '<=|=>' /var/log/exim4/mainlog > zsh:1: datei oder Verzeichnis nicht gefunden: = > zsh:1: keine Berechtigung: /var/log/exim4/mainlog > > $ ssh r...@host egrep '<=|=>' /var/log/exim4/mainlog > zsh:1: datei oder Verzeichnis nicht gefunden: = > zsh:1: command not found: = > > Sorry for the german text, I could not find a way to get LANG="C" > placed correctly. > > The fist says fist «file or directory not found: =» and claims I have > no right to access /var/log/exim4/mainlog which is incorrect when using > sudo. > > The second fist has the same message and then claims it can't find the > command '='
I'm not sure why you think this is a zsh bug; ssh quoting requirements are notoriously annoying. Try something like ssh r...@host "egrep '<=|=>' /var/log/exim4/mainlog" -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

