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

util/batch/centre.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Centre strings on a line
Author: krf101 at york.ac.uk (Kevin Fairhurst)
Type:util/batch
Architecture:m68k-amigaos
Date:1996-10-14
Download:util/batch/centre.lha - View contents
Readme:util/batch/centre.readme
Downloads:4756

              Want to centre strings in text files or from CLI?
               But you don't want to have to count characters,
         then divide by 2, then press space an exact number of times,
           ooops, did you press it once too often?  Start again ...


   This is where 'Centre' comes in!

   'Centre' is like a basic version of Echo. Whatever you type in as an
argument is output to the CLI or (via redirection) to a file. However, it
is centred on the line first.

   Any lines of longer than 77 characters will be cut down to this number.

   If you wish to use redirection, do no use it in the middle of a quoted
string!

ie Centre "Hello >RAM:Bob Bob!" will not work as planned!

   Catch ya later ...


         Kev


Contents of util/batch/centre.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  721    1016  71.0% -lh5- 4050 Sep 18  1996 Centre
[generic]                  486     877  55.4% -lh5- 995f Sep 17  1996 Centre.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1207    1893  63.8%            Oct 14  1996
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>