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 >&g

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

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

Re: Add a new internal command to BASH

2008-05-22 Thread Mike Frysinger
On Thursday 22 May 2008, Bob Proulx wrote: > If you still want to modify the source that is okay. You are free to > do so. Grab the source and modify it as you desire. But in order to > get help from other people you would need to motivate them as to why > you are one of the 0.01% of the peo

Re: Add a new internal command to BASH

2008-05-22 Thread Bob Proulx
Abhinandan wrote: > [EMAIL PROTECTED] wrote: > > Abhinandan wrote: > > > I wanted to add a new internal command to bash, how shall I do it. > > > > Have you tried simply creating the executable (or script) and placing > > it in your PATH somewhere? > >

Re: Add a new internal command to BASH

2008-05-22 Thread Abhinandan
; > Regards, > Michael > > On May 22, 2008, at 5:17 AM, 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 >

Re: Add a new internal command to BASH

2008-05-22 Thread [EMAIL PROTECTED]
Have you tried simply creating the executable (or script) and placing it in your PATH somewhere? Regards, Michael On May 22, 2008, at 5:17 AM, 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

Add a new internal command to BASH

2008-05-22 Thread Abhinandan
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 Thanks Abhinandan -- View this message in co