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.
|