Hi.
I have a huge file (350 million lines).
I need to delete all lines in it that:
1. Begin with a pipe character -- '|'
2. Or have less than 5 pipe characters in the line
Have been searching for some SED/AWK help for this (which is faster btw on such a ginormous file?) but only found this, but this works with a number not a pipe character.
PHP Code:
On this website:
/unix-advanced-expert-users/160025-deleting-lines-if-ith-character-x.html
Much appreciate any pointers.