|
From: | rader |
Subject: | non-convergent file edit? |
Date: | Tue, 16 Mar 2004 06:56:41 -0600 |
Assume... echo "01Jan70" > f then is there a way to do mv f f.OLD && \ cat f.OLD | perl -ne "s/\d\d\w\w\w\d\d/`date +%d%h%y`/; print" > f && \ rm f.OLD with editfiles?? Just curious. Using shellcommands is a reasonable solution. steve - - - systems & network guy high energy physics university of wisconsin
[Prev in Thread] | Current Thread | [Next in Thread] |