Torsten Trenkler wrote:

Hello,

su option "-c" works correctly but option "--command" as explained in
manpage doesn't work.

System: Debian-testing-etch up to date, german manpage

FWIW, this means coreutils version 5.96, Debian package version 5.

Using either that version or my more usual 5.97 (the latest in Debian
unstable), I cannot reproduce this; both forms of the switch work as
expected.

5.96:
==
[EMAIL PROTECTED]:/tmp$ rm -f file ; touch file
[EMAIL PROTECTED]:/tmp$ su -c 'ls file'
Password:
file
[EMAIL PROTECTED]:/tmp$ su --command 'ls file'
Password:
file
==

--
      The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to