Guest User

Untitled

a guest
May 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. while IFS='' read -r line || [ -n "$line" ]; do
  4. echo "$line"
  5. done < file
  6.  
  7. #!/bin/sh
  8.  
  9. newline='
  10. '
  11.  
  12. string=''
  13. while IFS='' read -r line || [ -n "$line" ]; do
  14. string="$string""$line""$newline"
  15. done < file
  16.  
  17. echo "$string"
Add Comment
Please, Sign In to add comment