Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding ex and adu commands, and some adjustments on which commands to…

… install
  • Loading branch information...
commit 80edbe07049577946bd8a2364bf19d8fb0c1fef6 1 parent 5a72222
@geirha authored
Showing with 30 additions and 7 deletions.
  1. +6 −1 Makefile
  2. +8 −0 build-adu
  3. +9 −0 build-ex-vi
  4. +7 −6 generate-initramfs
View
7 Makefile
@@ -4,7 +4,7 @@ awks = build/bin/bwk build/bin/gawk3 build/bin/gawk4 build/bin/mawk build/bin/na
evalbot: hda
-initramfs.cpio.gz: $(bashes) build/bin/mksh $(awks) initramfs
+initramfs.cpio.gz: $(bashes) build/bin/mksh $(awks) build/bin/adu build/bin/ex initramfs
{ cd initramfs && pax -x sv4cpio -w .; } | gzip -9 > initramfs.cpio.gz
initramfs: generate-initramfs
@@ -48,3 +48,8 @@ build/bin/oawk:
build/bin/mksh:
./build-mksh R40i20120901 mksh
+
+build/bin/adu:
+ ./build-adu
+build/bin/ex:
+ ./build-ex-vi
View
8 build-adu
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+mkdir -p build/{bin,adu} &&
+cd build/adu &&
+wget -c -O "../adu.tar.Z" "http://twkm.freeshell.org/adu.tar.Z" &&
+compress -cd "../adu.tar.Z" | pax -r &&
+make -f adu.mak &&
+cp adu ../bin
View
9 build-ex-vi
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+mkdir -p build/bin &&
+cd build &&
+wget -c -O ex-vi.tar.bz2 "http://sourceforge.net/projects/ex-vi/files/latest/download" &&
+bzip2 -cd ex-vi.tar.bz2 | pax -rs ',[^/]*,ex-vi,' &&
+cd ex-vi &&
+make &&
+cp ex ../bin
View
13 generate-initramfs
@@ -7,7 +7,6 @@ declare -A commands='(
## POSIX commands
[\[]="evaluate expression"
- [asa]="[FR] interpret carriage-control characters"
[basename]="return non-directory portion of a pathname"
[bc]="arbitrary-precision arithmetic language"
[cal]="[XSI] print a calendar"
@@ -31,6 +30,7 @@ declare -A commands='(
[echo]="write arguments to standard output"
[ed]="edit text"
[env]="set the environment for command invocation"
+ [ex]="[UP] text editor"
[expand]="convert tabs to spaces"
[expr]="evaluate arguments as an expression"
[false]="return false value"
@@ -44,8 +44,6 @@ declare -A commands='(
[head]="copy the first part of files"
[iconv]="codeset conversion"
[id]="return user identity"
- [ipcrm]="[XSI] remove an XSI message queue, semaphore set, or shared memory segment identifier"
- [ipcs]="[XSI] report XSI interprocess communication facilities status"
[join]="relational database operator"
[kill]="terminate or signal processes"
[link]="[XSI] call link function"
@@ -56,14 +54,12 @@ declare -A commands='(
[logname]="return the user'\''s login name"
[ls]="list directory contents"
[m4]="macro processor"
- [mailx]="process messages"
[mkdir]="make directories"
[mkfifo]="make FIFO special files"
[mv]="move files"
[newgrp]="change to a new group"
[nice]="invoke a utility with an altered nice value"
[nl]="[XSI] line numbering filter"
- [nm]="[XSI]|[SD] write the name list of an object file (DEVELOPMENT)"
[nohup]="invoke a utility immune to hangups"
[od]="dump files in various formats"
[paste]="merge corresponding or subsequent lines of files"
@@ -108,6 +104,7 @@ declare -A commands='(
## Compilation and linking and stuff
#[ar]="[SD]|[XSI] create and maintain library archives"
+ #[asa]="[FR] interpret carriage-control characters"
#[c99]="[CD] compile standard C programs"
#[cflow]="[XSI] generate a C-language flowgraph (DEVELOPMENT)"
#[ctags]="[SD] create a tags file (DEVELOPMENT, FORTRAN)"
@@ -139,6 +136,7 @@ declare -A commands='(
#[admin]="[XSI] create and administer SCCS files (DEVELOPMENT)"
#[delta]="[XSI] make a delta (change) to an SCCS file (DEVELOPMENT)"
#[get]="[XSI] get a version of an SCCS file (DEVELOPMENT)"
+ #[nm]="[XSI]|[SD] write the name list of an object file (DEVELOPMENT)"
#[prs]="[XSI] print an SCCS file (DEVELOPMENT)"
#[rmdel]="[XSI] remove a delta from an SCCS file (DEVELOPMENT)"
#[sact]="[XSI] print current SCCS file-editing activity (DEVELOPMENT)"
@@ -151,7 +149,10 @@ declare -A commands='(
#[at]="execute commands at a later time"
#[batch]="schedule commands to be executed in a batch queue"
#[crontab]="schedule periodic background work"
+ #[ipcrm]="[XSI] remove an XSI message queue, semaphore set, or shared memory segment identifier"
+ #[ipcs]="[XSI] report XSI interprocess communication facilities status"
#[lp]="send files to a printer"
+ #[mailx]="process messages"
#[man]="display system documentation"
#[mesg]="permit or deny messages"
#[more]="[UP] display files on a page-by-page basis"
@@ -175,10 +176,10 @@ declare -A commands='(
## Handled specially
#[awk]="pattern scanning and processing language"
- #[ex]="[UP] text editor"
#[sh]="shell, the standard command language interpreter"
## Other useful commands (non-POSIX)
+ [adu]="A command line date utility."
[bzip2]="a block-sorting file compressor, v1.0.6"
[dash]="command interpreter (shell)"
[getent]="get entries from administrative database"
Please sign in to comment.
Something went wrong with that request. Please try again.