[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell command classes don't work?

From: Tim Nelson
Subject: Re: shell command classes don't work?
Date: Thu, 6 May 2004 09:18:55 +1000 (EST)

On Wed, 5 May 2004, Paul Krizak wrote:

> I've experienced this problem, too.
> I believe the problem is because the shell commands that are allowed in
> 'classes' are just commands -- you're not allowed to use any
> metacharacters or anything.  Not sure why, but a simple command with no
> metacharacters works fine, and something with "grep" like you have
> doesn't work.  My workaround looks like this:

        The metacharacters are interpreted by the shell (eg. bash, tcsh),
and not by the underlying system call.  Presumably classes does not invoke
bash, hence the lack of shell commands.


Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]