Re: Embedding bash/rc in RPM-5.2

2009-04-16 Thread Jeff Johnson
On Apr 16, 2009, at 1:54 AM, Ralf S. Engelschall wrote: At least for most %() constructs I can image that a popen(3) approach would work... Heh, reverse shells wotta concept: while read line 0 5; do $line 25 5; done Th is also an approach to, say, an OCAML interpreter w/o the

Re: Embedding bash/rc in RPM-5.2

2009-04-15 Thread Ralf S. Engelschall
On Wed, Apr 15, 2009, Jeff Johnson wrote: Heh, that ratio between the size of bash and rc the last time I checked was 5:1, now 10:1. [...@fedora10 rc-1.7.1]$ ls -al rc -rwxrwxr-x 1 jbj jbj 73688 2009-04-14 03:54 rc [...@fedora10 rc-1.7.1]$ ls -al /bin/bash -rwxr-xr-x 1 root root 756040

Re: Embedding bash/rc in RPM-5.2

2009-04-15 Thread Ralf S. Engelschall
On Wed, Apr 15, 2009, devzero2000 wrote: On Wed, Apr 15, 2009 at 2:20 PM, Ralf S. Engelschall rse+rpm-de...@rpm5.org wrote: On Wed, Apr 15, 2009, Jeff Johnson wrote: Heh, that ratio between the size of bash and rc the last time I checked was 5:1, now 10:1.

Re: Embedding bash/rc in RPM-5.2

2009-04-15 Thread Anders F Björklund
Ralf S. Engelschall wrote: Remains the choice of shell. Dash or ash? I prefer the dash https://wiki.ubuntu.com/DashAsBinSh Well, for RPM itself I would vote for Dash, but in OpenPKG we use Bash everywhere. So, from my personal point of view, I would like to see support for both in RPM... ;-)

Re: Embedding bash/rc in RPM-5.2

2009-04-15 Thread Ralf S. Engelschall
On Wed, Apr 15, 2009, Jeff Johnson wrote: On Apr 15, 2009, at 8:51 AM, Ralf S. Engelschall wrote: Well, for RPM itself I would vote for Dash, but in OpenPKG we use Bash everywhere. So, from my personal point of view, I would like to see support for both in RPM... ;-) OTOH, for 99% if all