in reply to Re: Re: remove operating system delimiters?
in thread remove operating system delimiters?

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.

Replies are listed 'Best First'.
Re: Re: Re: Re: remove operating system delimiters?
by Anonymous Monk on Dec 05, 2003 at 23:28 UTC
    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