in reply to Windows and backslashes and replacements oh my!
My guess is something in your call is doing some escape code interpretation which translates \t to tab.
Update: or something is collapsing \\t to \t such that Perl sees a tab.
Which is weird for Windows. ..
One workaround is to replace every \\ with ${bs} in your Perl code and to initialize it with $bs= chr (92), like this a literal backslash wouldn't show up.
Update: or something is collapsing \\t to \t such that Perl sees a tab.
Anyway the problem is not in Perl but the surrounding shell .
- Ron
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Windows and backslashes and replacements oh my!
by stevieb (Canon) on Jun 18, 2021 at 18:57 UTC | |
by LanX (Saint) on Jun 18, 2021 at 19:28 UTC | |
by The Perlman (Scribe) on Jun 19, 2021 at 09:34 UTC | |
by LanX (Saint) on Jun 19, 2021 at 10:47 UTC | |
by LanX (Saint) on Jun 19, 2021 at 12:09 UTC | |
Re^2: Windows and backslashes and replacements oh my!
by Anonymous Monk on Jun 18, 2021 at 19:37 UTC | |
by LanX (Saint) on Jun 18, 2021 at 20:36 UTC |
In Section
Seekers of Perl Wisdom