>>>>> "BM" == Bob Mariotti <[EMAIL PROTECTED]> writes:

  BM> Sometimes its better to ask a dumb question after spending a day
  BM> trying to figure it out oneself.  Here goes:

  BM> When sorting a file with "sort" (unix sort) is there any way to
  BM> truncate the output to a maximum number of bytes per record????

  BM> Example:  sort -k 81.5,11.119 -z 80 -o fileout filein

  BM> This would read the input file of approx 81 bytes and write the
  BM> output file at only 80 bytes.

sounds like piping it to cut is all you need.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
----- Stem and Perl Development, Systems Architecture, Design and Coding ----
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
Damian Conway Perl Classes - January 2003 -- http://www.stemsystems.com/class
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to