[raspberry-vi] Re: editing scripts

  • From: Tim Chase <raspberry-vi@xxxxxxxxxxxxxxxxx>
  • To: <kperry@xxxxxxxxxxxxx>
  • Date: Thu, 21 Jan 2021 14:19:11 -0600

On January 20, 2021, kperry@xxxxxxxxxxxxx wrote:

As has already been said definitely use dos2unix.

dos2unix works well if it's installed, but it's not always available
out of the box on some systems, so I tend to stick with POSIX tools
like tr(1) to try and make sure that the solution is as broadly
applicable as possible without needing to install anything.

-tim


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: