Timeline for Why am I getting "line 1: $' :\r': command not found"?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 8, 2017 at 22:56 | comment | added | Wildcard |
Or rm -f [1-9].txt 10.txt. But that's not totally logically equivalent, as if there are no files 1-9 but there is a file literally called [1-9].txt then it will be deleted. :D
|
|
| Sep 8, 2017 at 22:43 | comment | added | Kusalananda♦ | @TPham You're welcome. I was just bored and took your code and let my mind run impressionistic with it. | |
| Sep 8, 2017 at 22:41 | history | edited | Kusalananda♦ | CC BY-SA 3.0 |
added 380 characters in body
|
| Sep 8, 2017 at 22:37 | comment | added | TPham | Thank you everyone for your instruction. Would like to clarify: the "iter=1" is a counter that I use later on for my main objective, beyond line 5. | |
| Sep 8, 2017 at 22:35 | comment | added | jesse_b |
Notepad++ actually has the option to use Windows/Mac/Linux line breaks. You just need to go to the Edit menu and then EOL Conversion->Unix (LF). Or you could just double click in the bottom right corner where it says Windows (CR LF) and change it to Unix (LF)
|
|
| Sep 8, 2017 at 22:26 | history | edited | Kusalananda♦ | CC BY-SA 3.0 |
added 130 characters in body
|
| Sep 8, 2017 at 22:20 | history | answered | Kusalananda♦ | CC BY-SA 3.0 |