Re: Possible bug with redirect.

2021-11-01 Thread David
On Tue, 2 Nov 2021 at 02:37, Rikke Rendtorff wrote: > > I'm very new to linux [...] > I went to the https://linuxmint.com community website and joined their IRC > chat to see if they had an explanation and they told me it may be a bug, > since they couldn't reproduce it for other commands. > > P

Re: Possible bug with redirect.

2021-11-01 Thread Greg Wooledge
On Mon, Nov 01, 2021 at 04:23:32PM +0100, Rikke Rendtorff wrote: > I'm very new to linux, so I apologize if I'm reporting a non-bug. > > I wanted to do this: date > `date +"%Y-%m-%d"`.txt to put the date into a > file called 2021-10-16.txt > > But I accidentally forgot the backticks, so it became

Possible bug with redirect.

2021-11-01 Thread Rikke Rendtorff
I'm very new to linux, so I apologize if I'm reporting a non-bug. I wanted to do this: date > `date +"%Y-%m-%d"`.txt to put the date into a file called 2021-10-16.txt But I accidentally forgot the backticks, so it became date > date +"%Y-%m-%d".txt. And it created a file called "date" and it put