Re: Using BBEdit to `touch` files

2020-03-21 Thread Rod Buchanan
I think the existing date command could have also given you what you want: date -j -v -99d +"%Y%m%d" > On Mar 21, 2020, at 12:59 AM, @lbutlr wrote: > > This might be useful to someone even though it is only tangentially related > to BBEdit. I spent quite a bit of time (let’s

Re: Using BBEdit to `touch` files

2020-03-21 Thread @lbutlr
On 21 Mar 2020, at 06:24, Rod Buchanan wrote: > date -j -v -99d +"%Y%m%d” That’s interesting, I’ve never seen that syntax for the date command. It’s less readable, but doesn't require gdate to be installed. -- Advance and attack! Attack and destroy! Destroy and rejoice! -- This is the

Re: Using BBEdit to `touch` files

2020-03-21 Thread Rod Buchanan
My guess it is from macOS' BSD heritage. Definitely not what I'm used to on our Linux boxes, or what I remember (been a while) on AIX. > On Mar 21, 2020, at 4:11 PM, @lbutlr wrote: > > On 21 Mar 2020, at 06:24, Rod Buchanan wrote: >> date -j -v -99d +"%Y%m%d” > > That’s interesting,