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

util/cli/unixcmds.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:Port of simple un*x commands
Author: jffabre at club-internet.fr
Uploader:Jean-François Fabre (jffabre club-internet fr)
Type:util/cli
Architecture:m68k-amigaos
Date:1999-10-13
Download:util/cli/unixcmds.lha - View contents
Readme:util/cli/unixcmds.readme
Downloads:500

This package is a non-exhaustive port of some useful un*x 
simple commands to use with amiga shells.
The original sources can be found at:

http://marque.mscs.mu.edu/~georgec/Classes/207.1998/14Minix_tree

Except for grep, which is a port of GNU grep 2.1

The commands I've "ported" are:

banner
basename
comm
cut
date
dirname
expand
expr
fgrep
fold
grep
head
join
od
sed
shar
sort
strcmp
strings
tail
tr
uniq
unshar
wc
width

Those commands are added to the currently un*x ports on aminet:

grep, awk, rm, mkdir, ls, make, etc...

Source and Makefile is included. I had to make some slight modifications in order to:

- make the sources compile with SAS/C
- Change stderr to stdin (I was stupid to do this! I don't do it anymore)
- Some tools had to be adapted to suit AmigaOS standards (basename, dirname, where
  I added the --amiga option) or enhanced (option -a added in strings to accept
  french accents)
- Added amiga wildcard support where it was useful (fgrep, wc, fold, grep, sort)

The make command used is the amiga GNU make and not the shitty smake.


Also included some other sources I could not make work. Those are:

cut (locks, seems buggy in the argument parsing)

Feel free to make any comments to my e-mail address.


Contents of util/cli/unixcmds.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 4924   10876  45.3% -lh5- e9e4 Oct  5  1999 unixcmds/bin/banner
[generic]                 5053    7864  64.3% -lh5- 6a3e Oct  5  1999 unixcmds/bin/basename
[generic]                 6322    9840  64.2% -lh5- 20cb Oct  5  1999 unixcmds/bin/comm
[generic]                 7698   11964  64.3% -lh5- 3899 Oct  5  1999 unixcmds/bin/cut
[generic]                 6759   10540  64.1% -lh5- c28c Oct  5  1999 unixcmds/bin/date
[generic]                 4801    7376  65.1% -lh5- ffd2 Oct  5  1999 unixcmds/bin/dirname
[generic]                 7099   11140  63.7% -lh5- 4408 Oct  5  1999 unixcmds/bin/expand
[generic]                 5918    9872  59.9% -lh5- 20e6 Oct  5  1999 unixcmds/bin/expr
[generic]                16962   33732  50.3% -lh5- c3a7 Oct  5  1999 unixcmds/bin/fgrep
[generic]                10716   19936  53.8% -lh5- 07ba Oct  5  1999 unixcmds/bin/fold
[generic]                37422   74920  49.9% -lh5- b360 Oct  5  1999 unixcmds/bin/grep
[generic]                 6456   10084  64.0% -lh5- 0781 Oct  5  1999 unixcmds/bin/head
[generic]                 8929   14392  62.0% -lh5- a933 Oct  5  1999 unixcmds/bin/join
[generic]                 7073   11048  64.0% -lh5- ffc9 Oct  5  1999 unixcmds/bin/od
[generic]                14308   25356  56.4% -lh5- ea7b Oct  5  1999 unixcmds/bin/sed
[generic]                 5485    8604  63.7% -lh5- 1e72 Oct  5  1999 unixcmds/bin/shar
[generic]                11789   21536  54.7% -lh5- 50c2 Oct  5  1999 unixcmds/bin/sort
[generic]                 4454    6864  64.9% -lh5- 8c64 Oct  5  1999 unixcmds/bin/strcmp
[generic]                 7715   12188  63.3% -lh5- e92b Oct  5  1999 unixcmds/bin/strings
[generic]                10270   19008  54.0% -lh5- a651 Oct  5  1999 unixcmds/bin/tail
[generic]                 3849    5784  66.5% -lh5- 920e Oct  5  1999 unixcmds/bin/tr
[generic]                 7670   12076  63.5% -lh5- 59a2 Oct  5  1999 unixcmds/bin/uniq
[generic]                  526     644  81.7% -lh5- a011 Oct  5  1999 unixcmds/bin/unshar
[generic]                10802   20196  53.5% -lh5- 2def Oct  5  1999 unixcmds/bin/wc
[generic]                 5252    8156  64.4% -lh5- 74dd Oct  5  1999 unixcmds/bin/width
[generic]                  696    1801  38.6% -lh5- bccd Oct  5  1999 unixcmds/src/amigawildcard.c
[generic]                  167     425  39.3% -lh5- 24aa Oct  5  1999 unixcmds/src/amigawildcard.h
[generic]                 1584    7566  20.9% -lh5- 874d Oct  5  1999 unixcmds/src/banner.c
[generic]                 1055    2666  39.6% -lh5- 5b12 Oct  5  1999 unixcmds/src/basename.c
[generic]                 1703    5247  32.5% -lh5- 6c05 Oct  5  1999 unixcmds/src/comm.c
[generic]                 3008   11468  26.2% -lh5- 635d Oct  5  1999 unixcmds/src/cut.c
[generic]                 3349   12273  27.3% -lh5- c253 Oct  5  1999 unixcmds/src/date.c
[generic]                  653    1344  48.6% -lh5- 2306 Oct  5  1999 unixcmds/src/dirname.c
[generic]                  862    2531  34.1% -lh5- 31b7 Oct  5  1999 unixcmds/src/expand.c
[generic]                 4279   18013  23.8% -lh5- 7e05 Oct  5  1999 unixcmds/src/expr.c
[generic]                 3744   11614  32.2% -lh5- f90d Oct  5  1999 unixcmds/src/fgrep.c
[generic]                  731    1851  39.5% -lh5- 9328 Oct  5  1999 unixcmds/src/fold.c
[generic]                 2967    8416  35.3% -lh5- 288b Oct  5  1999 unixcmds/src/getopt.c
[generic]                  927    2933  31.6% -lh5- 536b Oct  5  1999 unixcmds/src/getopt.h
[generic]                 5028   14238  35.3% -lh5- 2340 Oct  5  1999 unixcmds/src/grep-2.1/alloca.c
[generic]                 1286    1769  72.7% -lh5- 9f21 Oct  5  1999 unixcmds/src/grep-2.1/alloca.c.info
[generic]                 1332    1983  67.2% -lh5- 84d6 Oct  5  1999 unixcmds/src/grep-2.1/amigawildcard.c.info
[generic]                  984    1749  56.3% -lh5- 400a Oct  5  1999 unixcmds/src/grep-2.1/AUTHORS
[generic]                  303     571  53.1% -lh5- af59 Oct  5  1999 unixcmds/src/grep-2.1/AUTHORS.info
[generic]                   17      17 100.0% -lh0- d2de Oct  5  1999 unixcmds/src/grep-2.1/Build
[generic]                 2010    3133  64.2% -lh5- 162a Oct  5  1999 unixcmds/src/grep-2.1/Build.info
[generic]                 7008   17989  39.0% -lh5- f060 Oct  5  1999 unixcmds/src/grep-2.1/COPYING
[generic]                19405   67219  28.9% -lh5- 01cf Oct  5  1999 unixcmds/src/grep-2.1/dfa.c
[generic]                 1287    1769  72.8% -lh5- b2a1 Oct  5  1999 unixcmds/src/grep-2.1/dfa.c.info
[generic]                 5037   14809  34.0% -lh5- 4726 Oct  5  1999 unixcmds/src/grep-2.1/dfa.h
[generic]                  966    1438  67.2% -lh5- c4f6 Oct  5  1999 unixcmds/src/grep-2.1/dfa.h.info
[generic]                 1970    5831  33.8% -lh5- ede0 Oct  5  1999 unixcmds/src/grep-2.1/dosbuf.c
[generic]                 1283    1769  72.5% -lh5- 9fb1 Oct  5  1999 unixcmds/src/grep-2.1/dosbuf.c.info
[generic]                   16      16 100.0% -lh0- b28f Oct  5  1999 unixcmds/src/grep-2.1/egrep.man
[generic]                   16      16 100.0% -lh0- b28f Oct  5  1999 unixcmds/src/grep-2.1/fgrep.man
[generic]                 9223   28712  32.1% -lh5- cd20 Oct  5  1999 unixcmds/src/grep-2.1/getopt.c
[generic]                 1283    1769  72.5% -lh5- e999 Oct  5  1999 unixcmds/src/grep-2.1/getopt.c.info
[generic]                 1913    4691  40.8% -lh5- b2bc Oct  5  1999 unixcmds/src/grep-2.1/getopt.h
[generic]                  962    1438  66.9% -lh5- 4df7 Oct  5  1999 unixcmds/src/grep-2.1/getopt.h.info
[generic]                 1875    4681  40.1% -lh5- 453d Oct  5  1999 unixcmds/src/grep-2.1/getopt1.c
[generic]                 1285    1769  72.6% -lh5- 4467 Oct  5  1999 unixcmds/src/grep-2.1/getopt1.c.info
[generic]                  334    1006  33.2% -lh5- 7df0 Oct  5  1999 unixcmds/src/grep-2.1/getpagesize.h
[generic]                  965    1438  67.1% -lh5- f624 Oct  5  1999 unixcmds/src/grep-2.1/getpagesize.h.info
[generic]                 3790   10215  37.1% -lh5- 84ba Oct  5  1999 unixcmds/src/grep-2.1/grep.1
[generic]                 8553   25268  33.8% -lh5- 9d69 Oct  5  1999 unixcmds/src/grep-2.1/grep.c
[generic]                 1334    1984  67.2% -lh5- e644 Oct  5  1999 unixcmds/src/grep-2.1/grep.c.info
[generic]                  765    1499  51.0% -lh5- 884b Oct  5  1999 unixcmds/src/grep-2.1/grep.h
[generic]                  961    1438  66.8% -lh5- ee87 Oct  5  1999 unixcmds/src/grep-2.1/grep.h.info
[generic]                  397     835  47.5% -lh5- 2900 Oct  5  1999 unixcmds/src/grep-2.1/grep.info
[generic]                 6481   21350  30.4% -lh5- 3134 Oct  5  1999 unixcmds/src/grep-2.1/kwset.c
[generic]                 1286    1769  72.7% -lh5- c89b Oct  5  1999 unixcmds/src/grep-2.1/kwset.c.info
[generic]                 1154    2434  47.4% -lh5- e6a6 Oct  5  1999 unixcmds/src/grep-2.1/kwset.h
[generic]                  964    1438  67.0% -lh5- 8f42 Oct  5  1999 unixcmds/src/grep-2.1/kwset.h.info
[generic]                  253     482  52.5% -lh5- 6117 Oct  5  1999 unixcmds/src/grep-2.1/Makefile
[generic]                  445     944  47.1% -lh5- 4cf1 Oct  5  1999 unixcmds/src/grep-2.1/Makefile.am
[generic]                 2786    9233  30.2% -lh5- 6618 Oct  5  1999 unixcmds/src/grep-2.1/Makefile.in
[generic]                 1071    1652  64.8% -lh5- 198b Oct  5  1999 unixcmds/src/grep-2.1/Makefile.info
[generic]                 2562    6100  42.0% -lh5- 7308 Oct  5  1999 unixcmds/src/grep-2.1/memchr.c
[generic]                 1285    1769  72.6% -lh5- 0dfb Oct  5  1999 unixcmds/src/grep-2.1/memchr.c.info
[generic]                 5105   17812  28.7% -lh5- 2ab5 Oct  5  1999 unixcmds/src/grep-2.1/obstack.c
[generic]                 1291    1769  73.0% -lh5- 21bf Oct  5  1999 unixcmds/src/grep-2.1/obstack.c.info
[generic]                 6350   22490  28.2% -lh5- 8ab4 Oct  5  1999 unixcmds/src/grep-2.1/obstack.h
[generic]                  965    1438  67.1% -lh5- cd70 Oct  5  1999 unixcmds/src/grep-2.1/obstack.h.info
[generic]                  709    1233  57.5% -lh5- 896f Oct  5  1999 unixcmds/src/grep-2.1/README
[generic]                53674  184130  29.2% -lh5- 4b31 Oct  5  1999 unixcmds/src/grep-2.1/regex.c
[generic]                 1284    1769  72.6% -lh5- da37 Oct  5  1999 unixcmds/src/grep-2.1/regex.c.info
[generic]                 6896   20452  33.7% -lh5- 0afa Oct  5  1999 unixcmds/src/grep-2.1/regex.h
[generic]                  965    1438  67.1% -lh5- 9764 Oct  5  1999 unixcmds/src/grep-2.1/regex.h.info
[generic]                  177     273  64.8% -lh5- 449c Oct  5  1999 unixcmds/src/grep-2.1/SCOPTIONS
[generic]                  509    3169  16.1% -lh5- 95c7 Oct  5  1999 unixcmds/src/grep-2.1/SCoptions.info
[generic]                 3514   11118  31.6% -lh5- d366 Oct  5  1999 unixcmds/src/grep-2.1/search.c
[generic]                 1283    1769  72.5% -lh5- 99a5 Oct  5  1999 unixcmds/src/grep-2.1/search.c.info
[generic]                 1588    4043  39.3% -lh5- 1eca Oct  5  1999 unixcmds/src/grep-2.1/system.h
[generic]                  960    1438  66.8% -lh5- 4bb5 Oct  5  1999 unixcmds/src/grep-2.1/system.h.info
[generic]                 3148   10535  29.9% -lh5- 1e78 Oct  5  1999 unixcmds/src/grep.c
[generic]                  707    1599  44.2% -lh5- b899 Oct  5  1999 unixcmds/src/head.c
[generic]                 2834   10614  26.7% -lh5- 3b23 Oct  5  1999 unixcmds/src/join.c
[generic]                  625    1697  36.8% -lh5- e447 Oct  5  1999 unixcmds/src/Makefile
[generic]                 2269    7691  29.5% -lh5- cba9 Oct  5  1999 unixcmds/src/od.c
[generic]                16428   60670  27.1% -lh5- 4d16 Oct  5  1999 unixcmds/src/sed.c
[generic]                  672    2175  30.9% -lh5- 1be6 Oct  5  1999 unixcmds/src/shar.c
[generic]                11482   41494  27.7% -lh5- 976c Oct  5  1999 unixcmds/src/sort.c
[generic]                  376     616  61.0% -lh5- e13f Oct  5  1999 unixcmds/src/strcmp.c
[generic]                 2027    5068  40.0% -lh5- 0f84 Oct  5  1999 unixcmds/src/strings.c
[generic]                 4089   13278  30.8% -lh5- 60aa Oct  5  1999 unixcmds/src/tail.c
[generic]                 1409    4865  29.0% -lh5- bd69 Oct  5  1999 unixcmds/src/tr.c
[generic]                 1657    4786  34.6% -lh5- f649 Oct  5  1999 unixcmds/src/uniq.c
[generic]                 3187   11063  28.8% -lh5- b65a Oct  5  1999 unixcmds/src/unshar.c
[generic]                 1458    4302  33.9% -lh5- 2194 Oct  5  1999 unixcmds/src/wc.c
[generic]                 1242    3676  33.8% -lh5- 3b94 Oct  5  1999 unixcmds/src/width.c
[generic]                  781    1405  55.6% -lh5- bf6a Oct  5  1999 unixcmds/unixcmds.readme
[generic]                  864    1579  54.7% -lh5- 295b Oct  5  1999 unixcmds/unixcmds.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total       112 files  484377 1201828  40.3%            Oct 13  1999
Page generated in 0.03 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>