Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat input
- Moving Conversation (id=1249) to Folder TROCA DO MODELO LISTA (id=1182)
- Moving Conversation (id=1789814) to Folder Trash (id=3)
- Moving Conversation (id=1781436) to Folder Itens Enviados 2011 (id=795403)
- $ awk 'match($0, / to Folder /) { a = substr($0, RSTART + RLENGTH); sub(/ \(id=[0-9]*\)$/, "", a); print a }' input
- TROCA DO MODELO LISTA
- Trash
- Itens Enviados 2011
Add Comment
Please, Sign In to add comment