Technical issues/questions of an intermediate or advanced nature.
-
Ed_P
- Contributor

- Posts: 8966
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#1
by Ed_P » 07 Jan 2023, 16:47
If a .sh file is edited in Windows it becomes non-executable in Linux due to a carriage return at the end of lines. Bogomips had a command that fixed the problem, does anyone remember it or have a link to his posting?
Ed_P
-
babam
- Warlord

- Posts: 528
- Joined: 16 Nov 2016, 10:30
- Distribution: Porteus 5.0rc3 Xfce K6.1.1
- Location: Rainy city
Post#2
by babam » 07 Jan 2023, 18:19
dos2unix
Sorry, my English is bad.
babam
-
Ed_P
- Contributor

- Posts: 8966
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#3
by Ed_P » 07 Jan 2023, 19:49
Thanks
babam I will check it out.
I thought
Bogomips thing was a bash command with grep and sed functions.
Ed_P
-
Rapha_
- Shogun

- Posts: 248
- Joined: 12 Jun 2021, 21:59
- Distribution: Xfce 4.12 - 5.rc3 - x86_64
- Location: France
Post#4
by Rapha_ » 08 Jan 2023, 01:26
I see this as "Alternatives to dos2unix conversion" :
Unix2dos
or
or
or
Rapha_