Sponsored by Toyota
Toyota's remedy for floor mat entrapment view!
youtube.com - Toyota explains what is being done to address the potential floor mat entrapment of accelerator pedals.
2 Comments
- Ademan, on 10/25/2008, -0/+1Pretty cool list... however that futurama quoter could be made more robust. This is my modification:
curl -Is slashdot.org | egrep "^X-(Fry|Bender|Leela|Hermes)" | cut -d - -f 2-
The differences are that if there was a header value besides X-Fry that began with X-F it would also be outputted, and there are quotes from both Leela and Hermes that wouldn't have been caught by the original code
There may be more, but I haven't seen them, simply add |Other Character after Hermes but before the ')' to account for it. ex. "[...]Leela|Hermes|Professor)[...]" Although I suspect that slashdot would use X-Other-Character rather than X-Other Character)
The other modification is a "-" after the 2 at the end, the original cut command only takes field 2 separated by "-" characters 2- means field 2 all the way until the end of the line, which is useful since a fair number of the quotes contain hyphens in them, and those get truncated.
(And to think, that was 15 minutes I could have been working on my computer science homework...) - brisbin33, on 10/24/2008, -0/+1one of the few CLI articles that doesn't start with pwd, cd, and ls... good find, useful indeed; i liked the last tip, the extract script, i can never remember all the tar options. bookmarked and dugg.


What is Digg?