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


Click here to return to the 'Cleaner display for 'defaults domains' command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Cleaner display for 'defaults domains' command
Authored by: bluehz on Apr 28, '03 12:00:02PM
this removes leading and trailing whitespace (if any exists):
defaults domains | tr ',' '\n' | sed 's/^[ \t]*//;s/[ \t]*$//
' | more
(should be all one line of code - don't know why its being autowrapped here these days)

[ Reply to This | # ]
Cleaner display for 'defaults domains' command
Authored by: Eravau on Apr 28, '03 12:13:31PM

Of the three posted so far, this is the only one that seems to
work.

-Eravau (Tony Colter)
http://www.tonycolter.com/photos/



[ Reply to This | # ]