[ale] grep
Chris Hamilton
chrish at ifsintl.com
Thu Nov 13 23:06:51 EST 1997
> >
> > grep -n <expr> [<files...>] | find -d ':' -f 1
> >
> > -d = delimiter
> > -f = field (seperated by delimiter)
> >
> I tried that and I get:
>
> find: invalid predicate `-d'
>
Erk! My apologies. I have no clue what I was thinking at the time.
The command SHOULD be:
grep -n <expr> [<files...>] | cut -d ':' -f 1
Sorry again,
---
Christopher Hamilton Internal System Administrator
chrish at ifsintl.com IFS International, Inc.
More information about the Ale
mailing list