helpGNU Core Utilities - Support: sr #107385, allow specification of tab width...


You are not allowed to post comments on this tracker with your current authentication level.

sr #107385: allow specification of tab width in 'fmt'

Submitted by:  nOg0oi3 <ttw>
Submitted on:  Mon 24 May 2010 10:57:36 AM UTC  
Votes:  50  
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None

Thu 27 May 2010 02:46:56 PM UTC, comment #1: 

ps: i'm hoping this is something that may be viewed as trivial but if there's anything i could do to make it more that way (i.e. formatting or documentation) then let me know and i'll look into it

nOg0oi3 <ttw>
Mon 24 May 2010 10:57:36 AM UTC, original submission:  

fmt assumes a width of 8, which is pretty annoying when that's not the case.  the attached patched 'fmt.c' includes a new option (-T/--tab) to specify the width of the tab during calculations.

this should also, possibly, mandate the use of tabs on output (i.e. set the 'tabs' boolean variable) but currently doesn't effect that.

nOg0oi3 <ttw>


Attached Files
file #20605:  fmt.c,20100521-ttw added by ttw (27KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ttw (Voted in favor of this item)
  • -email is unavailable- added by ttw (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 50 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-27 ttw Carbon-Copy- => Added ttw
    2010-05-24 ttw Attached File- => Added fmt.c,20100521-ttw, #20605

    Back to the top

    Powered by Savane 3.5