Timeline for How do I pass hex characters to printf in a script command? [duplicate]
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 22, 2024 at 11:50 | comment | added | sgmoore | Using /usr/bin/printf fixes my issue, but your comment has taught me that the shells could be different. I thought they were the same unless the script specifically said what shell to use. But I'm using zsh but the script is using /bin/sh | |
| Apr 22, 2024 at 11:45 | vote | accept | sgmoore | ||
| Apr 22, 2024 at 11:40 | history | closed | Kusalananda♦ shell-script Users with the shell-script badge or a synonym can single-handedly close shell-script questions as duplicates and reopen them as needed. | Duplicate of Why does printf byte formatting fail when executed under `dash`? | |
| Apr 22, 2024 at 11:32 | answer | added | Schmaehgrunza | timeline score: 1 | |
| Apr 22, 2024 at 11:31 | comment | added | Kusalananda♦ |
What shell is your interactive shell (zsh?) and what shell is executing your script (dash?)?
|
|
| Apr 22, 2024 at 11:27 | comment | added | Tom Newton | maybe, this can help stackoverflow.com/questions/9604270/… | |
| Apr 22, 2024 at 11:04 | history | asked | sgmoore | CC BY-SA 4.0 |