Using
sed, I would like to delete first n line from a file, than continue other commands.
I know
, but its maybe not good for me, because I use complex command.
means delete from 1st line to 4th line, than EXIT. I would like to delete the 1st 4 line, than
continue....)
Now I use this commands:
Code:
sed -E 's/([a-zA-Z0-9.@]+):([a-z0-9._-]+@[a-z0-9.-]+\.[a-z]+{2,4}):([0-9]+.[0-9]+.[0-9]+.[0-9]+):(.*)/\1 \2 \3/' pix.txt | sed 1,4d | less
pix.txt first n line:
Code:
BY @xxxxxxx THE SUN GOES DOWN…
twitter.com/xxxxxxxxx
concat_ws(':',name,email,ip_address,members_pass_hash,members_pass_salt)
USER1:username@pixarra.com:00.00.149.106:0fb88e5bf21eddd113cdaff1e0f5cfa2:-yh#]
USER2:username@shasta.com:00.106.00.148:9225fdc2aed7e7c8b372d15e52486a73:0aUBr
USER3:username@comcast.net:00.163.00.62:46e3c1ed2f8ffbadcc0bcdb17a4afe1a:pbx]q
Thanks for your help.