Re: shell: dash - large file support

2015-07-26 Thread Jilles Tjoelker
On Fri, Jul 24, 2015 at 02:50:48PM -0400, Aleksandar Ristovski wrote: > For builds that build 32-bit dash, configure misses to setup large > file support resulting in issues with large files. > For example: > ...dp/dash-0.5.8/build$ ls -l /tmp/largefile.sh > -rw-rw-r-- 1 aristovski aristovski 3794

Re: Ignored alias inside for loop

2015-07-26 Thread Jilles Tjoelker
On Sun, Jul 26, 2015 at 04:09:12PM +, Rusty Bird wrote: > > Aliases are expanded during parsing, not during execution (like > > functions are). The for loop is parsed completely before it is > > executed. > Ah, what confused me was that I wrongly remembered it working inside > an if (instead

Re: Ignored alias inside for loop

2015-07-26 Thread Rusty Bird
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Jilles, > Aliases are expanded during parsing, not during execution (like > functions are). The for loop is parsed completely before it is > executed. Ah, what confused me was that I wrongly remembered it working inside an if (instead of for) b

Re: Ignored alias inside for loop

2015-07-26 Thread Jilles Tjoelker
On Sun, Jul 26, 2015 at 09:23:52AM +, Rusty Bird wrote: > Why does this ... > #!/bin/sh > for i in 1; do > alias foobarbaz='echo ok' > foobarbaz > done > ... result in "foobarbaz: not found", but without the for loop it works? > Maybe I'm missing something in the spec, because bash-as

Ignored alias inside for loop

2015-07-26 Thread Rusty Bird
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Why does this ... #!/bin/sh for i in 1; do alias foobarbaz='echo ok' foobarbaz done ... result in "foobarbaz: not found", but without the for loop it works? Maybe I'm missing something in the spec, because bash-as-sh behaves the same.