Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. /^loginName:/{x=NR+1} # for matching lines store the record (line) number +1 into x
  2. (NR<=x){print} # The condition will be true for the line matching the pattern above and the following line.
  3.  
  4. sed "N;s/n/t/g"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement