You're viewing a comment by Dave Eddy and its responses.
You're viewing a comment by Dave Eddy and its responses.
I am being sponsored by Syntress since 2007! They bought me an amazing dedicated server to run catonmat on. If you're looking web services in Chicago area, I highly recommend the Syntress guys!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)


Be careful with using this feature of bash, as it requires bash version 4 or higher. So on a mac (including Lion), this functionality isn't there.
dave @ [ bahamas10 :: (Darwin) ] ~ $ echo "$BASH_VERSION" 3.2.48(1)-release dave @ [ bahamas10 :: (Darwin) ] ~ $ echo "${BASH_VERSION^^}" -bash: ${BASH_VERSION^^}: bad substitution dave @ [ bahamas10 :: (Darwin) ] ~ $The only safe way to do this in older versions of bash is to use
tr, and even then, to make sure you are using a locale-safe way of translating text.ex.
Ugly, I know, but safe.
Reply To This Comment