[raspberry-vi] Re: editing scripts

  • From: "Glenn K0LNY" <glennervin@xxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Wed, 20 Jan 2021 14:24:17 -0600

Does this do all files in a directory?
I know that notepad++ has a find and replace for all files in a directory.
If I knew what to replace that would work in Linux, I could also use 
Notepad++.
The windows carriage returns are I think \r\n
but I would not know how to express them for Linux in notepad++.
Glenn
----- Original Message ----- 
From: "Flip" <ke4obt@xxxxxxxxxx>
To: <raspberry-vi@xxxxxxxxxxxxx>
Sent: Wednesday, January 20, 2021 2:20 PM
Subject: [raspberry-vi] Re: editing scripts


you can also try installing "dos2unix" and run,
dos2unix filename.sh
from the cli.

HTH
===========================================================
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

=========================================================== 
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: