Those aren't OS delimiters. They are ANSI escape codes for displaying color. If you remove --color option from the ls command, they won't show up. You could also use --color=auto which causes to ls to only send color codes when it is talking to a terminal.
| [reply] [d/l] [select] |
Thank you so much for the professional explanation. I am wondering if there is any other weird chars I need to guard against in addition to the ANSI color codes. Is that possible that some other options of some other commands may include in the standardin some control chars I can not detect with regular perl regexp patterns? Have a good weekend. ginger
| [reply] |