grep or fgrep ?

Thilo Six T.Six at gmx.de
Sat Sep 23 17:43:02 UTC 2006


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





More information about the ubuntu-users mailing list