Mailinglist Archive: opensuse (1632 mails)
| < Previous | Next > |
Re: [opensuse] alias failure
- From: joe <joe@xxxxxxxxxx>
- Date: Sat, 28 Jul 2007 14:46:14 -0700
- Message-id: <46ABB926.2060603@xxxxxxxxxx>
Randall R Schulz wrote:
> Aliases don't take positional parameters, at least not in BASH (I think
> they do in the Csh family, if I recall correctly). They simply expanded
> verbatim in front of any arguments you give, so if you invoke it
> with "/dev/hda7" as an argument, it's like running this command:
<Smacks forehead>
Yes, Randall is right. I took a lazy shortcut and did this instead:
for i in `cat drives`; do tune2fs -l $i | grep volume; done
which of course worked....
Joe
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |