Results 1 to 4 of 4
I'm trying to produce a alphabetic, non-repetitive list of all System service calls in all c files located in a folder. Here's what I got so far.
grep -ow '[A-Za-z]*SYS[$][A-Za-z]*' ...
- 03-13-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 2
Alphabetic, non-repetitive list
I'm trying to produce a alphabetic, non-repetitive list of all System service calls in all c files located in a folder. Here's what I got so far.
grep -ow '[A-Za-z]*SYS[$][A-Za-z]*' *.c | sort
Which produces all system service calls in alphabetic order I just need to find out how to make it non-repetitive.
- 03-13-2011 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Google: linux man uniq
- 03-13-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 2
Thanks exactly what I was looking for
- 03-14-2011 #4Linux Newbie
- Join Date
- Nov 2008
- Location
- Tokyo, Japan
- Posts
- 243


Reply With Quote
