grep or fgrep ?

Richard cms01 at tampabay.rr.com
Sat Sep 23 21:42:48 UTC 2006


[hint-re]
newbie ask question for answer
guru expert gives NEWBIE, THE CORRECT answer
newbie Learns for the next time, takes notes...
someday, newbie will be the teacher.
[end of hit]

Sorry to bother you.

Can some else give a straight answer

Thanks -
Rich





On Saturday 23 September 2006 1:43 pm, Thilo Six wrote:
> Richard wrote the following on 23.09.2006 19:09:
> > Thanks for the try, but your command did not work.
> > 
> > 
> > rick at 64bit:/usr/share/services/searchproviders$ sudo  fgrep "Keys" 
*desktop | 
> > {sed|cut|awk|sort|uniq} > /dev/shm/my_list.log
> > bash: {sed: command not found
> > cut: you must specify a list of bytes, characters, or fields
> > Try `cut --help' for more information.
> > bash: uniq}: command not found
> 
> [hint]
> this command example wasn´t meant to be copy & pasted into terminal.
> Instead you will need to edit it to your needs.
> [/hint]
> 
> <snip>
> 
> >> man sed
> >> man cut
> >> man sort
> >> man awk
> >> man uniq
> 
> These tools are really powerful and to handle them right makes the
> difference between a noob and an expert. Personally i belong to ther
> former.  ;)
> 
> bye Thilo
> -- 
> i am on Ubuntu 2.6 KDE
> - some friend of mine
> 
> gpg key: Ox4A411E09
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 




More information about the ubuntu-users mailing list