Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

most extreme grep challenge

Name: Anonymous 2007-06-13 19:45 ID:QhD//lsC

% ls
abc abcd q
% grep --version
grep (GNU grep) 2.5.1
% ls | grep ______
abc
========================================
Fill in the blank and no flags fags.  I will judge all entries,
and decide upon the winrars.

Name: Anonymous 2007-06-14 2:50 ID:P+Np0woQ

oh hi

% touch abc abcd q
% ls
abc  abcd  q
% grep --version
grep (GNU grep) 2.5.1
% man grep
[...]
-w, --word-regexp
Select  only  those  lines containing matches that form whole words.  The test is that the matching substring must either be at the beginning of the line, or preceded by a non-word constituent character.  Similarly, it must be either at the end  of  the  line  or followed by a non-word constituent character.  Word-constituent characters are letters, digits, and the underscore.
[...]
% ls | grep -w abc
abc

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List