Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Allow Location changes to trigger other events' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Allow Location changes to trigger other events
Authored by: blalor on Jun 15, '06 10:41:07AM
These one-liners are great, but don't take into account location names with spaces in them.
Try this, which grabs everything inside the parens at the end of the string: scselect 2>&1 | egrep '^ +*' | sed -e 's#.*((.*))#1#g'

[ Reply to This | # ]