[Fwd: Re: script to append data to a file]

[Fwd: Re: script to append data to a file]

am 03.09.2003 14:55:13 von pacho baratta

> perl -pe 's/$/;/g' >> / file_out
>
sorry i wrote data i meant date...

i need command substitution for date, so something like:
perl -pe 's/$/`date`/g'

or say

perl -pe 's/$/`cat file`/g'

what i need is to get command substitution

pacho


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html