I have a huge file (350 million lines).
I need to delete all lines in it that:
Begin with a pipe character -- '|'
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.
On this website:
/unix-advanced-expert-users/160025-deleting-lines-if-ith-character-x.html