AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/edit/GEDMake.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Re-insert real TABs in a makefile
Author: steigies at physik.uni-kiel.de (Christian Steigies)
Uploader:steigies physik uni-kiel de (Christian Steigies)
Type:text/edit
Version:0.04
Architecture:m68k-amigaos
Date:1996-10-04
Download:text/edit/GEDMake.lha - View contents
Readme:text/edit/GEDMake.readme
Downloads:514

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.


Contents of text/edit/GEDMake.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6544   12788  51.2% -lh5- 8a62 Sep 23  1996 GEDMake
[generic]                  585    1083  54.0% -lh5- b951 Sep 23  1996 GEDMake.readme
[generic]                  242     569  42.5% -lh5- 8e37 Sep 20  1996 testfile
[generic]                  211     647  32.6% -lh5- b57c Aug  8  1996 src/error.c
[generic]                   76     124  61.3% -lh5- 50d6 Aug  8  1996 src/error.h
[generic]                 1565    4483  34.9% -lh5- 6db0 Sep 23  1996 src/main.c
[generic]                  239     534  44.8% -lh5- 4285 Sep 17  1996 src/Makefile
[generic]                  278     480  57.9% -lh5- f08e Sep 23  1996 src/usage.c
[generic]                  154     213  72.3% -lh5- 864c Sep 18  1996 src/usage.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         9 files    9894   20921  47.3%            Oct  4  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>