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

util/cli/firstline.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Extracts and or deletes the first line of a textfile
Author:Fredrik Rambris (fredrik.rambris at amiga.nu)
Uploader:Fredrik Rambris (fredrik rambris amiga nu)
Type:util/cli
Version:1.0
Architecture:m68k-amigaos
Date:1998-09-14
Download:http://aminet.net/util/cli/firstline.lha - View contents
Readme:http://aminet.net/util/cli/firstline.readme
Downloads:516

 Background
¯¯¯¯¯¯¯¯¯¯¯¯
I wanted to create a script that downloaded files and that could be
aborted. When rerun it was supposed to continue where it stopped and so did
this program born.

 Usage
¯¯¯¯¯¯¯
Firstline <Textfile> [DELETE] [QUIET]

Ex. FirstLine Ram:MyTextfile.txt DELETE
this opens the file, extracts the first line, displays it , removes it from
the file and then close and exists.

QUIET just kills all output.


Have fun!


Contents of util/cli/firstline.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1374    3500  39.3% -lh5- cfb2 Sep 13  1998 FirstLine
[generic]                  373     640  58.3% -lh5- 46ee Sep 13  1998 firstline.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1747    4140  42.2%            Sep 14  1998

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>