On Wed, Oct 27, 1999 at 07:21:10PM +0000, David Coe wrote:
> Is there a better way? Thanks.
if [ $(id -u) != 0 ]; then
echo I am not root
fi
That's how dh_testroot used to do it IIRC.
--
Everything should be clear by now, so you won't need any examples.
- from the CLC-INTERCAL manual (http://www.assurdo.com/INTERCAL/)