Upgrading shell vars&strings to allow for possibility of FD redirection into a var.

2015-11-23 Thread Linda Walsh
konsolebox wrote: On Thu, Nov 19, 2015 at 4:29 AM, Linda Walsh wrote: However one cannot categorically say that a NUL byte can't be used as an argument. Likely only in an escaped format, or just as a single byte or character. Solving other places where it doesn't work might make it so tha

Re: Scrolling instead of wrapping?

2015-11-23 Thread Dan Stromberg
On Mon, Nov 23, 2015 at 5:13 AM, Greg Wooledge wrote: > On Fri, Nov 20, 2015 at 02:37:29PM -0800, Dan Stromberg wrote: > > I'm finding that when I have a long one-liner, bash 4.4 will scroll > > horizontally instead of wrapping to the next line. Some people may > prefer > > this behavior, but I

Re: Scrolling instead of wrapping?

2015-11-23 Thread Greg Wooledge
On Fri, Nov 20, 2015 at 02:37:29PM -0800, Dan Stromberg wrote: > I'm finding that when I have a long one-liner, bash 4.4 will scroll > horizontally instead of wrapping to the next line. Some people may prefer > this behavior, but I don't. Usually this happens when bash can't find what it wants in

\177 at the end of a variable

2015-11-23 Thread isabella parakiss
$ str=abcd; [[ $'a\177' = a"${str:4:1}" ]]; echo $? 0 This happens in every version since 3.1, including the devel branch. --- xoxo iza