nathan r. hruby wrote:

> I have a lot of these little pipelines, all culled from the little
> shell scripts I'm trying to get rid of so it looks like the kludgy
> special variable it is.. Which doesn't seem to work either.

You might be able to replace most of the awk '{print $1}'-type calls
with "cut" invocations:

    $ cut -d" " -f1 </proc/loadavg
    0.00

Best,
Brendan

--
Senior System Administrator
The University of Chicago
Department of Computer Science

http://www.cs.uchicago.edu/people/brendan

http://people.cs.uchicago.edu/~brendan


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to