Paul Jarc spake thusly on 07/11/2007 12:10 PM:
Scott Carpenter <[EMAIL PROTECTED]> wrote:
V="one/two"
[[ ! $V =~ ^\.*/ ]] && echo not
3.1 will remove the backslash as part of basic string parsing, just as
if this were not part of a [[ command, while 3.2 handles the arguments
for [[ specially,
Scott Carpenter wrote:
> Hi, all. I hope this report is of some use -- I'm pretty inexperienced
> at GNU/Linux and Bash so I'm afraid this is going to sound horribly
> amateurish. But I think I've found something for you. (Or I'm simply
> about to demonstrate my crude understanding of regular ex
Scott Carpenter <[EMAIL PROTECTED]> wrote:
> V="one/two"
> [[ ! $V =~ ^\.*/ ]] && echo not
3.1 will remove the backslash as part of basic string parsing, just as
if this were not part of a [[ command, while 3.2 handles the arguments
for [[ specially, and will keep the backslash as part of the rege