[NTLUG:Discuss] Need help debugging simple script commands

Rick Matthews RedHat.Linux at verizon.net
Thu Aug 1 19:10:21 CDT 2002


> You could use tr to remove all non-ascii entries as well. Try "tr -cs 
> [a-zA-Z0-9] [\n*]". This will convert anyhting that isn't upper or lower 
> case alpha or a number into a newline character. Look at the man or info 
> page on tr for more hints.

Thanks for the suggestion. I'd probably need for it to leave the 
end of line characters in there, though.

Thanks!
Rick





More information about the Discuss mailing list