the problem is that somewhere along the line, all of the end-of-line chars in the script end in the windows end-of-line char, which looks like an underscored 'M' in my editor. what is the Quick'n'Dirty TM solution to this?
cat 'file' | perl -ne 's/\m$/\n/g; print' > 'newfile' doesn't work (the \m was just a guess...)
cheers,
d_i_r_t_y
In reply to converting windoze end-of-line chars to unix by d_i_r_t_y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |