bash / word seperators

Mauricio Vergara Ereche mave at nic.cl
Mon May 8 16:05:18 UTC 2006


Hi Brian!

El Lunes, 8 de Mayo de 2006 11:50, Brian D. McGrew escribio:
> Back in 'ye olden days, we used to have a customized version of bash
> that recognized '/' as a word separator; which was very nice when
> editing command lines, a CTRL-W would not erase your whole typed path,
> just back to the slash.
>
> Without building a new version of bash, how can I make the shell
> recognize '/' as a word separator???

You must set the $IFS variable
look in "man bash" the section "Word splitting"

Greets!

-- 
Mauricio Vergara Ereche                   User #188365 counter.li.org
NIC Chile                                         mave [@] nic [.] cl
Agustinas 1357 Piso 4, Santiago CHILE                   +56 2 9407721
Codigo Postal: 834-0432                             http://www.nic.cl




More information about the fedora-list mailing list