On Thu, May 06, 1999 at 08:22:40AM -0400, Ian Peters wrote: > On Thu, May 06, 1999 at 12:12:37PM +0000, Richard Harran wrote: > > I need to filter some text files to convert all the letters to the same > > case, and to remove punctuation. I guess I should use 'sed', but the > > man page is disfunct, and I'm struggling with the info. Could someone > > give me a hint (particularly for the case change thing). > > cat filename | tr '[:lower:][:punct:]' '[:upper:]' > filename2
My fault, this is broken. Too early in the morning. cat filename | tr [:lower:] [:upper:] | tr -d [:punct:] -d for delete man tr -- Ian Peters "I never let schooling interfere with my education." [EMAIL PROTECTED] -- Mark Twain