Thanks for the feedback all!
dws: I can't rename the files, 'cause part of the information I'm collecting (in the larger script) is the last modified time. I guess I could copy the file to a temp file with a reasonable name, but that could be trouble with very large files.
BrowserUK: Good call! I think it might be hitting cygwin. I'll have to try it on a Win2K box without cygwin tools installed.
traveler: I tried embedding the quotes, but it didn't change the result. I think it might be the shell env.
pg: It's not just echo, other commands do it too. Any command called straight from the shell works fine, but only when they're called from open does this happen.
More testing to come (tomorrow). I'll let you know if I find anything!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.