Advertisement
s_hossain18

Command Linux

Aug 8th, 2022 (edited)
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. # For those who don't have dos2unix installed (and don't want to install it):
  2.  
  3. # Remove trailing \r character that causes this error:
  4. # https://github.com/batsh-dev-team/Batsh => Batch to Bash converter
  5. sed -i 's/\r$//' filename
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement