[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test for --help and --version in gnits mode
From: |
Tim Van Holder |
Subject: |
Re: Test for --help and --version in gnits mode |
Date: |
Mon, 4 Feb 2002 18:13:02 +0100 |
> | + if $$p $$opt > .chkout$$pid 2> .chkerr$$pid \
> | + && test -n "`cat .chkout$$pid`" \
> | + && test -z "`cat .chkerr$$pid`"; then :; \
>
> Will Tim like these filenames? :)
I'll have to ask... No, seems he won't :-)
Plenty of other choices I will like though (_chk{err,out}.$$pid
for example).
Note that names such as _chkout$$pid would not be a good choice
either, as the process id would be truncated to a single digit,
which may cause problems. Using the pid as extension is better
(3 digits), but for optimal effect, use something like
c$$pid.{out,err}.