djet (1) [Avatar] Offline
#1
Just wondering why would Lazy coder use so many pipes when there is pipeless solution available (no matter it looks like a bunch of geeky smilies=) :

[djet:Scripts] egrep -e '(([[:<:]]ESR[[:>:]]|[[:<:]]SRV[[:>:]]|[[:<:]]URI[[:>:]]).*){3}' projects
slurm: URI,INGY,TFM,ESR,SRV

(Just found these yet another word break chars in egrep man page) And I completely agree using some of *nix tools with so many dialects makes a mess in your head. I've got at least two flavours at home: Interix & busybox and few bsd systems at work. It's a miracle perl could be found almost on every current *nix system.