:: Re: [DNG] Studying C as told. (For …
Top Page
Delete this message
Reply to this message
Author: KatolaZ
Date:  
To: dng
Subject: Re: [DNG] Studying C as told. (For help)
On Thu, Jun 23, 2016 at 02:17:37PM +0200, Edward Bartolo wrote:
> Hi,
>
> I am doing exercise 1-21 Pg 48 The C programming language" (Kernighan
> & Ritchie). Since I am finding difficulty inspecting tabs in XFCE4.10
> terminal, I would like someone to inspect this program which replaces
> repeating spaces with tabs when there are sufficient consecutive
> spaces. I am not asking for a long reply. A short reply giving me
> feedback as to whether the code is good or not, is enough.
>


"hexdump" will help you understand if you have tabs in the right
places. Tab is ASCII character 9.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]