Timeline for How to convert dashed string to spaces and caps?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 9, 2014 at 10:59 | comment | added | B Seven | Apparently there are some differences between OSX and Linux: unix.stackexchange.com/questions/13711/… | |
| Dec 9, 2014 at 10:57 | comment | added | Mandar Shinde | I also copied and pasted the output from my terminal. I am using RHEL 6.5. | |
| Dec 9, 2014 at 10:56 | comment | added | B Seven |
No, I copied and pasted: echo "foo-bar-foo-bar" | tr "-" " " | sed -e 's/\b./\U&/g'
|
|
| Dec 9, 2014 at 10:53 | comment | added | Mandar Shinde | Did you just miss backslash? | |
| Dec 9, 2014 at 10:48 | comment | added | B Seven |
This looks good but I got foo Ubar foo Ubar.
|
|
| Dec 9, 2014 at 4:09 | history | answered | Mandar Shinde | CC BY-SA 3.0 |