* Re: [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^)
@ 2002-04-29 17:00 99% ` Joachim Blaabjerg
0 siblings, 0 replies; 1+ results
From: Joachim Blaabjerg @ 2002-04-29 17:00 UTC (permalink / raw
To: gentoo-dev
Spider wrote:
> now, Does anyone know how to make gpm transfer tabs/spaces ok instead of
> converting all my tabs to spaces? or failing gpm working, getting vim to
> notice gpm broken paste and convert and align nicely?
I don't know how that would be done, and I agree with mr. McArthur that it is
unlikely to happen. However, you could always use an sed ugly hack once in a
while to convert tabs to spaces.
sed s/"\t"/\ \ \ \ /g source-tabs.c > source-spaces.c
It works here, but I realise it's _far_ from a solution (and ugly as hell).
Just replace the number of escaped spaces to suit your needs.
Regards,
--
Joachim Blaabjerg
styx@SuxOS.org
www.SuxOS.org
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2002-04-27 22:17 [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^) Arcady Genkin
2002-04-29 12:08 ` Spider
2002-04-29 12:26 ` William McArthur
2002-04-29 17:00 99% ` Joachim Blaabjerg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox