vose
01-23-2003, 01:53 PM
MARG!!! This shouldn't be hard, and once someone gives the answer, yes, after the fact it will be sooo easy. But for two days so far it has been totally impossible. How does one write something like
date | sed s/ ....
so that if date returns Thu Jan 23 12:14:03 EST 2003, then
date | sed s/ ....
will return 12:14:03 ?
Second question: Is there a complete and absolutely, positively, totally unambiguous DEFINITION for precisely how sed works, with examples, lots and lots of examples?
date | sed s/ ....
so that if date returns Thu Jan 23 12:14:03 EST 2003, then
date | sed s/ ....
will return 12:14:03 ?
Second question: Is there a complete and absolutely, positively, totally unambiguous DEFINITION for precisely how sed works, with examples, lots and lots of examples?