Hangar.La tienda de software del Amiga

GEDMake 0.04

Re-insert real TABs in a makefile

Short:        Re-insert real TABs in a makefile
Author:       steigies@physik.uni-kiel.de (Christian Steigies)
Uploader:     steigies physik uni-kiel de (Christian Steigies)
Type:         text/edit
Version:      0.04
Architecture: m68k-amigaos

GoldED has the nice feature to convert TABs to a number of  spaces  when  GED
reads  a  file. When using gcc and especially GNU make this can be a problem,
because GNU make needs TABs as seperators.  So  if  you  want  to  edit  your
makefile  with GoldED and you don't want to insert all the lost TABs again by
hand, use GEDMake.

Usage:
GEDMake <infile> <outfile>

GEDMake will read the <infile> and for every 8 SPACEs at the  begining  of  a
line,  it  will write a TAB in the <outfile>. All other chars will go through
unchanged.
Remember that its 8 SPACEs for one TAB,  the  standard  GoldED  configuration
will  give  you  only 4 SPACEs when you hit TAB. But when you read a file one
TAB gives you 8 SPACEs...

Try:
GEDMake testfile out
And then compare out and Makefile, the are equal :-)

If you know how to do this from within GoldED or find a bug, please write  me
a mail.

Gratis

Descargar 10 KB

Desde el Amiga: abre Hangar y busca GEDMake.

Autorsteigies@physik.uni-kiel.de (Christian Steigies)
Categoríatext/edit
Tamaño10 KB
Param68k-amigaos
OrigenAminet