[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New fold option in textutils?

From: Eric Lemings
Subject: New fold option in textutils?
Date: Thu, 29 Nov 2001 13:59:44 -0700

I needed some additional capabilities added to the fold utility so I
hacked my copy of the source code to add an additional option.  This is
the option I added.

    address@hidden src]$ ./fold --help
    Usage: ./fold [OPTION]... [FILE]...
    Wrap input lines in each FILE (standard input by default), writing
    standard output.

      -b, --bytes         count bytes rather than columns
      -s, --spaces        break at spaces
      -w, --width=WIDTH   use WIDTH columns instead of 80
      -l, --lead=LEAD     indent folded lines with LEAD string
          --help          display this help and exit
          --version       output version information and exit

    Report bugs to <address@hidden>.

It allows text that should be indented to be folded properly.  If you
think this is a valuable option, I can submit patches.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]