Re: bash --debugger does nothing if debug script not installed

2014-11-23 Thread Ryan Cunningham
-- Sent from my iPad >> On Nov 23, 2014, at 11:29 AM, Ryan Cunningham wrote: >> >> On Nov 23, 2014, at 10:58 AM, Chet Ramey wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>> On 11/21/14 9:31 PM, Eric Blake wrote: >>> >>> $ bash --debugger foo >>> bash: debug script /usr

Re: bash --debugger does nothing if debug script not installed

2014-11-23 Thread Ryan Cunningham
On Nov 23, 2014, at 10:58 AM, Chet Ramey wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> On 11/21/14 9:31 PM, Eric Blake wrote: >> >> $ bash --debugger foo >> bash: debug script /usr/bin/bashdb: file not found >> >> to give me a heads up that I need to install bashdb. Would it

Re: bash --debugger does nothing if debug script not installed

2014-11-23 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/21/14 9:31 PM, Eric Blake wrote: > $ bash --debugger foo > bash: debug script /usr/bin/bashdb: file not found > > to give me a heads up that I need to install bashdb. Would it make > sense to make the explicit use of --debugger be fatal if a d

bash --debugger does nothing if debug script not installed

2014-11-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I wanted to play with debugging a bash script: $ echo 'echo hello' > foo $ bash --debugger foo hello $ sudo yum install bashdb -y ... $ bash --debugger foo bash debugger, bashdb, release 4.2-0.8 Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2