peter360 wrote:
I wrote a test program test.sh:
trap '
echo this is line 3, but LINENO=$LINENO
' 0
echo this is line 7, and LINENO=$LINENO
---
when I ran it I got
$ sh /tmp/test.sh
this is line 7, and
Yang Zhang wrote:
Hi, why doesn't the second command work? (Trying to move all files into
a newly created directory.)
$ mkdir dhclient
$ mv !(dhclient) !$
bash: !: event not found
It doesn't work because enabling the `extglob' option doesn't cause bash
to tell the history library to not
Hello
I'm looking for a way to set a Readline variable, but without editing
the init (~/.inputrc or /etc/inputrc) file.
E.g., I'd like to have
set show-all-if-ambiguous on
The thing is that I have to login to some remote server with a login
that I share with other users and I don't want to
Andi Bachmann wrote:
Hello
I'm looking for a way to set a Readline variable, but without editing
the init (~/.inputrc or /etc/inputrc) file.
E.g., I'd like to have
set show-all-if-ambiguous on
The thing is that I have to login to some remote server with a login
that I share
On Thu, Dec 04, 2008 at 09:37:58AM +, Stephane Chazelas wrote:
On Thu, Dec 04, 2008 at 10:16:20AM +0100, Roman Rakus wrote:
probably you heard about this topic. It is invoked by ubuntu guys. See
https://launchpad.net/ubuntu/+spec/command-not-found-magic
I would like to know, what do
Chet Ramey wrote:
f. Changed behavior so the shell now acts as if it received an interrupt
when a pipeline is killed by SIGINT while executing a list.
Does this mean that
$ sleep 60 ; do-something
...will no longer run 'do-something' when ctrl-C'd?
--
Matthew
Please do not quote my
Matthew Woehlke wrote:
Chet Ramey wrote:
f. Changed behavior so the shell now acts as if it received an interrupt
when a pipeline is killed by SIGINT while executing a list.
Does this mean that
$ sleep 60 ; do-something
...will no longer run 'do-something' when ctrl-C'd?
Yes.
--
Chet Ramey wrote:
Matthew Woehlke wrote:
Chet Ramey wrote:
f. Changed behavior so the shell now acts as if it received an interrupt
when a pipeline is killed by SIGINT while executing a list.
Does this mean that
$ sleep 60 ; do-something
...will no longer run 'do-something' when
Hi All,
I was looking for a way to run a program prior to bash executing the
program. Does anyone know of a hook that can do this, such as an environment
that hold this hook value.
--
View this message in context:
http://www.nabble.com/execution-hook-tp21425515p21425515.html
Sent from the