Re: Future date

2016-01-25 Thread Greg Wooledge
On Sun, Jan 24, 2016 at 11:58:27PM +, Val Krem wrote: > So easy, I am just learning about bash scripting. > date -d 'next month' +%b%Y > What would happen in December 2016. Will it give me Jan2017? Try It And See. imadev:~$ gdate -d 'December 15, 2016 +1 month' Sun Jan 15 00:00:00 EST 2017

Re: read Built-in Parameter Behavior -- Null Byte Delimiter

2016-01-25 Thread Greg Wooledge
On Mon, Jan 25, 2016 at 07:09:27PM +0100, Reuti wrote: > Sometimes I miss a feature in Bash to get access to the plain command line > the user typed, including all quotes and other redirections There is a way to do this, but it is not a path for the sane.

Re: read Built-in Parameter Behavior -- Null Byte Delimiter

2016-01-25 Thread Reuti
Hi, > Am 19.01.2016 um 17:49 schrieb Greg Wooledge : > > On Tue, Jan 19, 2016 at 11:39:07AM -0500, Adam Danischewski wrote: >> Bash also removes the single quotes before it hits read when the single >> quotes are attached to the delimiter option (-d''). > > And in EVERY