Hi, I hope this is the right place to ask this. I think a very handy argument to add to the list of aliases for character classes in tr would be a new one that behaves like [:cntrl:], except that it will not include newline characters in that class.
The reason is at work here I deal with XML data that people send us that has all sorts of strange characters in it, like ^@, ^Z, etc etc... and I'd like to use tr to quickly trip all this garbage out of there without it destroying the newline characters too... If this suggestion is actually considered, I suppose it would be nice to have some extra power to determine which newline to not target, in other words, on a Unix machine, that set might include all those ^ characters, as well as ^M to get rid of the DOS format... Sorry for the rant-like suggestion, but is this possible? Thanks -- smu johnson <[EMAIL PROTECTED]> _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
