Re: Searching Tarballs (REVISED)

2000-07-26 Thread Ken Irving
read_traintdb.pl traindb/train.sql traindb/tktrain_data.tdb traindb/INSTALL traindb/MANIFEST Another way might be to list the files to a Perl array, then extract each in turn to stdout for grepping. You might try the archive of the bash list, at moongroup.com, where this sort of thing is discussed. Ken -- Ken Irving [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.

Re: Recognizing Newlines with Sed

2000-06-23 Thread Ken Irving
rl > script that will. I'm not sure what you're trying to accomplish, but Perl's chomp() function seems to do a good job of removing various line-ending encodings. This one-liner translates from foriegn to native newlines: $ perl -i.bak -ne 'chomp; print"$_\n"

Re: Converting Case Lettering

2000-06-12 Thread Ken Irving
d strings. Respects current LC_CTYPE locale if C in force. See L. If EXPR is omitted, uses C<$_>. -- Ken Irving Trident Software [EMAIL PROTECTED] -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.