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

util/cli/remdoubles.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:Removes double lines in sorted text-files
Author: toenges at fact.rhein-ruhr.de (Till Toenges)
Uploader:toenges fact rhein-ruhr de (Till Toenges)
Type:util/cli
Architecture:m68k-amigaos
Date:1995-08-24
Download:util/cli/remdoubles.lha - View contents
Readme:util/cli/remdoubles.readme
Downloads:454

"remdoubles" is a 4:00 o'clock AM hack to remove double lines in a sorted file
(4:00 o'clock AM hack means that it doesn't support things like CTRL_C and is
just something i needed at 4:00 o'clock AM). It is case-sensitive and the only
argument it needs is the filename. It takes the WHOLE stuff you typed in after
"remdoubles" i.e.

	    remdoubles x y z

will look for a file called 'x y z', and

	    remdoubles "x y z"

will look for a file called '"x y z"'. Output will be printed to the standard
output.
		     DON'T USE LINES LONGER THAN 998 CHARS!

EXAMPLE:
	 ORIGINAL  OUTPUT
	 --------  ------
	  testa    testa
	  testa    testb
	  testb    testc
	  testc    Testc
	  testc    testx
	  Testc    testf
	  testx    testx
	  testf    teste
	  testx
	  teste
	  teste
	  teste

Use the source as you like, but beware, it's not optimized (i'm relying on my
assembler).


Contents of util/cli/remdoubles.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  215     240  89.6% -lh5- 47fe May 28  1995 remdoubles/remdoubles
[generic]                  612    1695  36.1% -lh5- 387a May 28  1995 remdoubles/remdoubles.asm
[generic]                  533    1051  50.7% -lh5- a71f Jun  5  1995 remdoubles/remdoubles.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    1360    2986  45.5%            Aug 23  1995
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>