Date: Fri, 15 Dec 2017 10:01:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224363] csh history should not modify >& Message-ID: <bug-224363-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224363 Bug ID: 224363 Summary: csh history should not modify >& Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: wosch@FreeBSD.org I run on a VM: $ time make buildkernel KERNCONF=GENERIC-NODEBUG >& log.nodebug later I wanted to do the same on an other VM. I checked the history, did a copy and paste of the history output of the shell: $ time make buildkernel KERNCONF=GENERIC-NODEBUG > & log.nodebug and it failed due the space between ">" and "&", which should be ">&" I never typed "> &" with a space, this was the csh. The first VM runs with csh, the second with bash. The bash does not like "> &", same for the zsh. I think that the csh history should not insert a space between ">&". How to repeat: csh% date >& /dev/null csh% history | tail -2 298 17:46 date > & /dev/null 299 17:46 history | tail -2 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224363-8>
