From: Scott Taylor <scott@dctchambers.com>
To: linux-admin@vger.kernel.org
Subject: Re: counting shell args
Date: Mon, 16 Dec 2002 13:05:18 -0800 [thread overview]
Message-ID: <5.1.1.6.0.20021216125932.01c63ca8@mustang> (raw)
In-Reply-To: <Pine.LNX.4.33.0212161555240.25857-100000@router.windsormac hine.com>
At 12:57 PM 12/16/02, Mike Dresser wrote:
>On Mon, 16 Dec 2002, Scott Taylor wrote:
>
> > >if [ $# -lt 2 ]; then
> >
> > Man! That's been driving me nuts for like an hour now! Thanks. It's
> > still driving me nuts why I couldn't find it in man bash or man test
> though.
>
># Expands to the number of positional parameters in
> decimal.
I saw that, and chose to ignore it, last time that happens. lol
>Doesn't exactly jump out and say, "HEY, I COUNT PARAMETERS"
No kidding. Heh, it's what happens when you run such a tight ship you
rarely need to do anything but play doom/quake to run those network tests. =P
>I looked for many hours for that one myself when making a backup script.
>Very annoying :)
Yeah, very. I remember once about 10 years ago someone told me that if I
study UNIX and can't find something, it's because the attitude is: "you
don't need to know that!" Now I know what he meant. Good thing it's no
longer like that. LMAO.
Cheers Mike.
next prev parent reply other threads:[~2002-12-16 21:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-16 20:36 counting shell args Scott Taylor
2002-12-16 20:47 ` Mike Dresser
[not found] ` <Pine.LNX.4.33.0212161545230.25857-100000@router.windsormac hine.com>
2002-12-16 20:53 ` Scott Taylor
2002-12-16 20:57 ` Mike Dresser
[not found] ` <Pine.LNX.4.33.0212161555240.25857-100000@router.windsormac hine.com>
2002-12-16 21:05 ` Scott Taylor [this message]
2002-12-16 21:12 ` Mike Dresser
[not found] ` <Pine.LNX.4.33.0212161607130.25857-100000@router.windsormac hine.com>
2002-12-16 21:38 ` Scott Taylor
2002-12-16 21:49 ` Mike Dresser
[not found] ` <Pine.LNX.4.33.0212161645140.3389-100000@router.windsormach ine.com>
2002-12-16 22:18 ` Scott Taylor
2002-12-17 15:15 ` Mike Dresser
[not found] ` <Pine.LNX.4.33.0212171005410.13631-100000@router.windsormac hine.com>
2002-12-17 15:36 ` SysAdmin rants [was Re: counting shell args] Scott Taylor
2002-12-17 3:11 ` counting shell args dashielljt
[not found] ` <Pine.LNX.4.50.0212162211130.217-100000@athame.gmpexpress.n et>
2002-12-17 15:38 ` Scott Taylor
2002-12-18 4:13 ` dashielljt
-- strict thread matches above, loose matches on Subject: below --
2002-12-16 22:04 johnjulian1
2002-12-17 15:05 ` Mike Dresser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.1.6.0.20021216125932.01c63ca8@mustang \
--to=scott@dctchambers.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.