Re: [gentoo-user] [OT] Read date input from text file problem

2023-08-05 Thread Paul Colquhoun
On Sunday, August 6, 2023 12:28:26 P.M. AEST Walter Dnes wrote: > I have a situation where something that works as a literal but > doesn't work when reading from a text file. Here's the problem, > simplified... > > I have a text file ztest.txt consisting of one line... > > "August 14, 2021"

[gentoo-user] [OT] Read date input from text file problem

2023-08-05 Thread Walter Dnes
I have a situation where something that works as a literal but doesn't work when reading from a text file. Here's the problem, simplified... I have a text file ztest.txt consisting of one line... "August 14, 2021" ...and I have a script ztest consisting of... #!/bin/bash xtoday=$( date -