|
|
Short grep tip
Instead of doubling up on greps with the
grep EvoCam | grep -v grepconstruct, use this: grep "[E]voCam"By enclosing the first letter of the process you want in square brackets you negate the second grep and it will only return a single match for EvoCam (or whatever else app name you stick in there.) Just nitpicking but everytime you save a cpu cycle, a sysop gets their wings... ;-)
Can't part with old Mac.
I know what you mean about not wanting to part with your old Macs. A Macintosh, through its OS, has a personality and becomes a member of the family, much in the same way a pet does. [Even without the Easter Eggs and the Happy Mac, they still feel like they have a personality: they are dependable, they have their own unique look/style, they behave consistently between applications, and you can often predict how they'll behave (even if you've never done a particular task before, it feels like something a Macintosh would do, so you try it and it works).] It has to go to a good home, if it goes anywhere. I still have my old Power Mac 6100/60 (with the crayons that look worn if you advance the clock enough, etc).
Oops...wrong parent! more....
Oops. I replied to the wrong parent. I wish these boards would allow you to delete within 120 seconds of posting.
Clever trick
I was about to write a post about how that cannot work, then I figured it out ;) Smart one aren't you!? I think I will use
grep '[/]foo' from now on personally since I can make use of
grep '[/]'"$arg" easily in scripts.
Thanks |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|