bug-coreutils
[Top][All Lists]
Advanced

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

wc support for different tab widths


From: Sebastian Bozlee
Subject: wc support for different tab widths
Date: Wed, 3 Jun 2009 13:28:16 -1000

Hi,

I'm sorry if this is the wrong place to post this. This is my first
contribution to an open source project, so feedback is appreciated. I
don't expect it to be put in the official code.

I've added the ability to count tabs as any number of spaces over 0 to
wc. It's used like this:
wc -L --tab-width=4 [files...]

if --tab-width is omitted, it defaults to 8 spaces, like in the
original program.

I've attached a patch (from version 7.4).

- Sebastian Bozlee

Attachment: wc.patch
Description: Text Data


reply via email to

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