Re: Bash leaks memory when doing function calls while reading from subshell as stdin

2017-12-17 Thread Øyvind Hvidsten
Awesome. Thanks! On 08/12/17 15:57, Chet Ramey wrote: On 12/7/17 7:41 AM, Øyvind Hvidsten wrote: Bash Version: 4.4 Patch Level: 12 Release Status: release Description: Somehow the included script causes a memory leak. Memory usage will grow huge over a very short timeframe. Thanks for

Re: foo=$*: ^A and DEL are prefixed or removed

2017-12-17 Thread Martijn Dekker
Op 16-12-17 om 17:06 schreef Chet Ramey: > On 11/24/17 3:17 AM, Martijn Dekker wrote: >> Here's another corner-case bug with assigning $* to a variable (i.e.: >> foo=$*). If IFS is empty, the $* expansion removes any $'\001' (^A) and >> $'\177' (DEL) characters. If IFS contains a value, each ^A and

this makes sense

2017-12-17 Thread isabella parakiss
IFS=_ foo_bar=well; set foo bar; echo "i'm a ${!@} designed language"