
Suppose you want to grep "-->" from a file, how do you do it without grep complaining about 1. wrong usage because of "-" 2. missing name for redirect because of ">" I thought the -F option would be what I needed, but I can't get it to work... thanks, Sofie -- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Evolutionary Genomics Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 fax:+32 (0)9 3313809 Website: http://bioinformatics.psb.ugent.be

Try grep -e "-->" I didn't try it out, but normally it works (also when you want to grep more things, e.g. grep -e "bla" -e "dup") Esther. Sofie Van Landeghem wrote:
Suppose you want to grep "-->" from a file, how do you do it without grep complaining about 1. wrong usage because of "-" 2. missing name for redirect because of ">"
I thought the -F option would be what I needed, but I can't get it to work...
thanks, Sofie

That does work :-) tnx :-) Sofie Esther-Kristin Lather wrote:
Try grep -e "-->"
I didn't try it out, but normally it works (also when you want to grep more things, e.g. grep -e "bla" -e "dup")
Esther.
Sofie Van Landeghem wrote:
Suppose you want to grep "-->" from a file, how do you do it without grep complaining about 1. wrong usage because of "-" 2. missing name for redirect because of ">"
I thought the -F option would be what I needed, but I can't get it to work...
thanks, Sofie
_______________________________________________ Binari Implicitly Neglects All Recursive Iterations https://maillist.psb.ugent.be/mailman/listinfo/binari
-- Sofie Van Landeghem PhD Student VIB Department of Plant Systems Biology, Ghent University Bioinformatics and Evolutionary Genomics Technologiepark 927, 9052 Gent, BELGIUM Tel: +32 (0)9 331 36 95 fax:+32 (0)9 3313809 Website: http://bioinformatics.psb.ugent.be
participants (2)
-
Esther-Kristin Lather
-
Sofie Van Landeghem