[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: [ale] grep
- From: chrish at ifsintl.com (Chris Hamilton)
- Date: Thu, 13 Nov 1997 23:06:51 -0500 (EST)
> > 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
Christopher Hamilton Internal System Administrator
chrish at ifsintl.com IFS International, Inc.