Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- awk 'BEGIN {firstName=0;} /Name/ {firstName=1;} /Address/ {if(firstName) {print $NF}; firstName=0;}' <file>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement