bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: su -c / --command


From: The Wanderer
Subject: Re: su -c / --command
Date: Wed, 30 Aug 2006 16:43:14 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922

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:
==
address@hidden:/tmp$ rm -f file ; touch file
address@hidden:/tmp$ su -c 'ls file'
Password:
file
address@hidden:/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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]