The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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.