Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!novavax!hcx1!hcx3!shirono From: shirono@hcx3.SSD.HARRIS.COM Newsgroups: comp.unix.questions Subject: Re: Summary of Responses Message-ID: <48200005@hcx3> Date: 2 Sep 88 22:39:00 GMT References: <663@neptune.AMD.COM> Lines: 29 Nf-ID: #R:neptune.AMD.COM:663:hcx3:48200005:000:1158 Nf-From: hcx3.SSD.HARRIS.COM!shirono Sep 2 18:39:00 1988 In comp.unix.questions <1000 Aug 31, 1988>, leightsu@neptune.UUCP writes: > <...> > > su user -c shellscript > > <...> where is the su -c option documented. > It is not documented in the Ultrix and BSD4.3 doc sets that I have in > my possession. Am I missing something? Yes. -c is not an option to su. It is an option to sh, csh, ksh (and I believe tcsh, as well). I don't know if Ultrix says anything about it, but sysV su has a command line of the form su [ - ] [ name [ arg ... ] ] where [ arg ... ] are arguments passed verbatim to the shell. ______________________________________________________________________________ || Internet: shirono@ssd.harris.com Roberto Shironoshita || Harris Corporation || ...!novavax---\ Computer Systems Division || UUCP: ...!uunet-------!hcx1!shirono || ...!mit-eddie-/ ------------------------------------------------------------------------------ DISCLAIMER: The opinions expressed here are my own; they in no way reflect the opinion or policies of Harris Corporation.