On Fri, 17 Jun 2022 06:35:27 -0500, John S. Giltner, Jr. wrote:
>Actually I think he needs:
>
> echo `date '+get EBC-GOV-%Y%m%d.txt'`
>
>To get the format of the date he needs.
>
Not quite, but:
date '+get EBC-GOV-%Y/%m/%d.txt'
o Why bother with "echo" of a command substitution?
o IIRC, the OP specified slashes. (?!)
Ex : EBC-GOV-yyyymmdd.txt' in this yyyymmdd should be
replace with
year/month/date.
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN