Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /^loginName:/{x=NR+1} # for matching lines store the record (line) number +1 into x
- (NR<=x){print} # The condition will be true for the line matching the pattern above and the following line.
- sed "N;s/n/t/g"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement