Timeline for Renaming a text file based on matching string in file's first line, in Unix shell script
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2022 at 17:25 | comment | added | icarus | Great edit, thanks Stéphane | |
| Jun 14, 2022 at 10:26 | comment | added | Sudha | Thank you @icaurus, it is working perfectly fine. | |
| Jun 14, 2022 at 10:24 | vote | accept | Sudha | ||
| Jun 13, 2022 at 6:15 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 |
typo, missing IFS= and -r, moved the redirection to a command group so case be not run if the file can't be opened.
|
| Jun 13, 2022 at 5:16 | history | answered | icarus | CC BY-SA 4.0 |