Given a file that contains a line indicating the date and time the file expires, in the form: Expires:200005281430;Remove:200005281430;991272 (this example is 28 May, 2000 @ 1430Z) can one easily determine with a shell script if the file has indeed expired, and then delete it? I realize this would be a trivial task using C or Perl, but what about the standard command-line tools like grep, sed, and so on? -- Regards, Jim Reimer - WA5RRH [EMAIL PROTECTED] http://www.webzone.net/jdreimer - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.linux-learn.org/faqs
- Re: shell script question Steve Youngs
- Re: shell script question Marc Mutz
- Re: shell script question Steve Youngs
- Re: shell script question Steve Youngs
- Re: shell script question T. Sean (Theo) Schulze
- Re: shell script question Steve Youngs
- Re: shell script question Richard Adams
- Re: shell script question Steve Youngs
- Re: shell script question T. Sean (Theo) Schulze
- Re: shell script question Steve Youngs
- Re: shell script question Jim Reimer
- Re: shell script question Marc Mutz
- Re: shell script question Richard Adams
- Re: shell script question Marc Mutz
- Re: shell script question Marc Mutz
- Re: shell script question Jim Reimer
- Re: shell script question (never m... Jim Reimer
- Re: shell script question Marc Mutz
- Shell script question Marc Mutz
