Re: Add a new internal command to BASH

2008-05-23 Thread Abhinandan
Hi Thanks for the information will try it Chet Ramey wrote: > > Abhinandan wrote: >> Hi i wanted to add a new internal command to bash, how shall i do it. >> please >> help me out on this, trying to do this since many days. i'm not looking >> for >> any alias etc stuffs, i want to my own comman

unexpected behavior of 'read' builtin

2008-05-23 Thread Juliano F. Ravasi
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPA

Re: Add a new internal command to BASH

2008-05-23 Thread Chet Ramey
Abhinandan wrote: Hi i wanted to add a new internal command to bash, how shall i do it. please help me out on this, trying to do this since many days. i'm not looking for any alias etc stuffs, i want to my own command as bash built in commands like trap, eval etc Adding a builtin is an interest

Re: Add a new internal command to BASH

2008-05-23 Thread Pierre Gaston
On Fri, May 23, 2008 at 5:56 AM, Abhinandan <[EMAIL PROTECTED]> wrote: > > Hi, > thats not what i intend to do. I want to write my own command and compile > the bash source and then run that command as bash built in command > Have a look at the bash source code tarball, you will find several examp