LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Nathan Brindle <[log in to unmask]>
Thu, 17 Feb 2000 19:28:02 EST
text/plain (22 lines)
If you want to test for 'bg', you can add something like

if [ "$1" != "bg" -a "$1" != "" ]
then
    echo "Syntax:  go       invokes LISTSERV in the foreground."
    echo "         go bg    invokes LISTSERV in the background."
    exit
fi

at the top of the 'go' script after the #!/bin/sh line.  Feel free to
improve on my purple prose.

Or you could write a little two-liner:

#!/bin/sh
./go bg

and call it 'lsvstart' or something like that.  Actually I've done the
latter--it makes more sense to me since I use NT more than I do unix.

Nathan

ATOM RSS1 RSS2