Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat file|paste -s -d ' '
- cat file|sed "s/ /\n/g"
- # Remove empty lines:
- cat file|sed '/^$/d'
- cat file|tr -s '\n'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement