Shell tips and tricks
    Ben Scott 
    dragonhawk at gmail.com
       
    Thu Nov  1 11:50:15 EDT 2007
    
    
  
On 11/1/07, Steven W. Orr <steveo at syslang.net> wrote:
> FYI, bash does not have here-strings. perl does. python has something
> similar.
  According to TFM, it does:
http://www.gnu.org/software/bash/manual/bashref.html#SEC43
  I still don't get the point of them, but it says it has them.  :)
> Speaking of envvars and variable interpolation, here's something to add
> to your .bash_profile
>
> PS4='+${0##*/} line $LINENO: '
  Wanna just tell us what that means?   :-)
-- Ben
    
    
More information about the gnhlug-discuss
mailing list