Timeline for Why echo after printf is not displaying in a new line?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2020 at 7:43 | comment | added | prado | @Kusalananda the name login was just a testing one, I usually name my functions starting with f__. Thanks! | |
| Feb 11, 2020 at 7:16 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 | added 339 characters in body |
| Feb 11, 2020 at 6:55 | history | edited | choroba | CC BY-SA 4.0 | deleted 1 character in body |
| Feb 11, 2020 at 5:08 | vote | accept | prado | ||
| Feb 10, 2020 at 12:52 | comment | added | Kusalananda♦ | With bash, use read -p 'some prompt' to provide a prompt for the user. The script in the question prints the prompt to standard output. Interactive prompts should be printed to standard error, which read -p does. Also, login is a poor choice of name for the function as it 1) does not log in, and 2) it overrides the existing login utility's name. | |
| Feb 10, 2020 at 12:48 | history | answered | choroba | CC BY-SA 4.0 |