in reply to Re: A problem with using the split command
in thread A problem with using the split command

I got this working on the command line like you have in your example, and it works, but in my script it's still not working. Very strange
  • Comment on Re: Re: A problem with using the split command

Replies are listed 'Best First'.
Re: Re: Re: A problem with using the split command
by revdiablo (Prior) on Apr 30, 2004 at 21:24 UTC
    I got this working on the command line ... but in my script it's still not working

    I'm not positive, but I'd say the shell is eating one pair of backslashes. Basically, the shell sees \\\\, passes it in to perl as \\, which gets passed into the RE engine as \. Welcome to the backwhack hell that is multiple layers of interpolation. :)

    So, in summary, \\\\ on the shell should be \\ in your script.