wc support for different tab widths (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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
wc.patch
Description: Text Data
- wc support for different tab widths,Sebastian Bozlee <=
- Re: wc support for different tab widths, Bob Proulx, 2009/06/04
* Re: wc support for different tab widths, Pádraig Brady, 2009/06/04
* Message not available
* wc support for different tab widths, Sebastian Bozlee, 2009/06/04
* Re: wc support for different tab widths, Bob Proulx, 2009/06/04
- Re: wc support for different tab widths, Bob Proulx, 2009/06/04
- Prev by Date:Re: [PATCH] dircolors: add screen-256color-bce to TERM list
- Next by Date:Re: [PATCH] dircolors: add screen-256color-bce to TERM list
- Previous by thread:Re: [PATCH] dircolors: add screen-256color-bce to TERM list
- Next by thread:Re: wc support for different tab widths
- Index(es):