Re: how to understand echo ${PATH#*:}

2011-12-25 Thread Bob Proulx
lina wrote: > how to understand > echo ${PATH#*:} > > the #*: > I don't get it. why the first path before : was gone. This is really a help-bash question. Please send all follow-ups there. The documentation says: ${parameter#word} ${parameter##word} Remove matching

how to understand echo ${PATH#*:}

2011-12-25 Thread lina
Hi, how to understand echo ${PATH#*:} the #*: I don't get it. why the first path before : was gone. Thanks,

Re: '>;' redirection operator

2011-12-25 Thread Roman Rakus
Feel free to write a patch. RR

1 is not safe, unusual PID value

2011-12-25 Thread Askar Safin
In jobs.c we see: #if defined (RECYCLES_PIDS) if (last_asynchronous_pid == mypid) /* Avoid pid aliasing. 1 seems like a safe, unusual pid value. */ last_asynchronous_pid = 1; #endif 1 is not safe, unusual PID value, because: 1. Linux kernel sometimes start with option "ini