Reputation
714
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 8 15
Impact
~59k people reached

  • 0 posts edited
  • 0 helpful flags
  • 48 votes cast
Jul
29
awarded  Favorite Question
Jul
16
awarded  Popular Question
Jul
10
accepted How to change output of time command?
Jul
10
accepted How to remove a single line from history?
Apr
14
awarded  Yearling
Apr
2
awarded  Good Question
Dec
9
comment How to convert dashed string to spaces and caps?
Apparently there are some differences between OSX and Linux: unix.stackexchange.com/questions/13711/…
Dec
9
comment How to convert dashed string to spaces and caps?
No, I copied and pasted: echo "foo-bar-foo-bar" | tr "-" " " | sed -e 's/\b./\U&/g'
Dec
9
comment How to convert dashed string to spaces and caps?
Apparently this doesn't work on OSX. I get foo uar uaz nonce.
Dec
9
comment How to convert dashed string to spaces and caps?
This looks good but I got foo Ubar foo Ubar.
Dec
9
comment How to convert dashed string to spaces and caps?
This is what I was looking for. How can I use it in a function to operate on $1: function format { sed -e 's/-/ /g' -e 's/\b\(.\)/\u\1/g' }
Dec
9
comment How to convert dashed string to spaces and caps?
I need to pass it an arbitrary string, and convert it to spaces and capitalized. Not just "foo-bar".
Dec
9
asked How to convert dashed string to spaces and caps?
Sep
24
awarded  Autobiographer
Sep
3
awarded  Famous Question
Aug
18
awarded  Popular Question
Jul
2
awarded  Curious
Jun
17
awarded  Famous Question
May
7
awarded  Popular Question
May
3
accepted How to fix SSH on OSX?