|
84734 packages online
|
|
|
|
|
|
No screenshot available
|
|
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.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |