heirloom-ng-59f7cc

Introduction to heirloom-ng

The heirloom-ng package is a collection of standard Unix utilities that is intended to provide maximum compatibility with traditional Unix while incorporating additional features necessary today.

Package Information

Additional Downloads

heirloom-ng Dependencies

Required

libarchive (to unpack the distribution) and ed

Installation of heirloom-ng

Apply a patch to avoid usage of static libraries:

patch -Np1 -i ../heirloom-ng-59f7cc-no-static.patch

Now, apply patches to fix builds of various components:

patch -Np1 -i ../heirloom-ng-59f7cc-fix-libcommon-build.patch &&
patch -Np1 -i ../heirloom-ng-59f7cc-fix-chroot-build.patch &&
patch -Np1 -i ../heirloom-ng-59f7cc-fix-date-build.patch &&
patch -Np1 -i ../heirloom-ng-59f7cc-fix-shl-build.patch

Finally, apply a patch to avoid a failure during installation:

patch -Np1 -i ../heirloom-ng-59f7cc-dont-link-nonexistent-files.patch

Install heirloom-ng by running the following command:

make

Now, as the root user:

make install

As the root user, remove binaries also shipped by heirloom-doctools and heirloom-devtools:

rm -vf /usr/5bin/col /usr/5bin/what

Contents

Installed Programs: STTY, apropos, awk, banner, basename, bc, bdiff, bfs, cal, calendar, cat, catman, chgrp, chmod, chown, chroot, cksum, cmp, comm, copy, cp, csplit, cut, date, dc, dd, deroff, df, dfspace, diff, diff3, diffh, dircmp, dirname, du, echo, ed, egrep, env, expand, expr, false, fgrep, file, find, fmt, fmtmsg, fold, getconf, getopt, grep, hd, head, hostname, id, install, join, kill, lc, line, listusers, ln, logname, ls, /usr/5bin/mail, man, mesg, mkdir, mkfifo, mknod, more, mt, mv, nawk, newform, news, nice, nl, nohup, oawk, od, page, paste, pathchk, pg, pgrep, pkill, pr, printenv, printf, priocntl, ps, psrinfo, ptime, random, readlink, renice, rm, rmdir, sdiff, sed, seq, setpgrp, shl, sleep, sort, spell, split, stty, su, sum, sync, tabs, tail, tapecntl, tar, tcopy, tee, test, time, touch, tr, true, tsort, tty, uname, unexpand, uniq, units, uptime, users, w, watch, wc, who, whoami, whodo, xargs, and yes
Installed Libraries: None
Installed Directories: /usr/5lib/spell, /usr/5lib/tmac, and /var/adm

Short Descriptions

STTY

is a hard link to stty

apropos

locates commands by keyword lookup

awk

is a hard link to either oawk or nawk, depending on directory

banner

makes posters

basename

returns a non‐directory portion of a pathname

bc

is the arbitrary‐precision arithmetic language

bdiff

is a wrapper around diff with support for big files

bfs

is a read-only wrapper around ed with support for big files

cal

prints a calendar

calendar

is a reminder service

calprog

is the backend for calendar

cat

concatenates and prints files

catman

creates the formatted files for the reference manual

chgrp

changes groups in file permissions

chmod

changes the mode of a file

chown

changes the owner of a file

chroot

runs a command with the specified directory as /

cksum

prints file checksums and sizes

cmp

compares two files

comm

selects or rejects lines common to two sorted files

copy

copies groups of files

cp

copies files

cpio

copies file archives in and out

csplit

reads a file and writes it in pieces

cut

cuts out selected fields of each line of a file

date

prints or sets the date

dc

is the desk calculator

dd

converts and copies a file

deroff

removes nroff/troff, tbl and eqn constructs

df

prints filesystem statistics

dfspace

is a hard link to df

diff

is a differential file comparison tool

diff3

is a 3-way differential file comparison tool

diff3prog

is the backend for diff3

diffh

is the backend for diff -h

dircmp

compares directories

dirname

returns the directory portion of a pathname

du

summarizes disk usage

echo

echoes arguments

ed

is a text editor

egrep

searches a file for a pattern using full regular expressions

env

sets environment for a command invocation

expand

converts tabs to spaces

expr

evaluates arguments as an expression

factor

factors a number

false

always returns 255

fgrep

searches a file for a character string

file

determines file type

find

finds files

fmt

is a simple text formatter

fmtmsg

displays a message in standard format

fold

folds long lines

getconf

gets configuration values

getopt

parses command options

grep

searches a file for a pattern

groups

shows group memberships

hd

displays files in hexadecimal format

head

displays first few lines of files

hostname

sets or prints name of current host system

id

prints user and group IDs and names

install

installs files

join

is the relational database operator

kill

terminates a process

lc

lists contents of a directory

line

reads one line

listusers

prints a list of user logins

ln

makes links

logins

lists login information

logname

gets a login name

ls

lists context of a directory

/usr/5bin/mail

sends or receives mail among users

man

finds and displays reference manual pages

mesg

permits or denies messages

mkdir

makes a directory

mkfifo

makes a FIFO special file

mknod

builds a device node

more

browses through a text file

mt

is the magnetic tape utility

mv

moves or renames files and directories

mvdir

moves a directory

nawk

is the new version of a program for manipulating text files

newform

changes the format of a text file

news

prints news items

nice

runs a command at low priority

nl

is the line numbering filter

nohup

runs a command while ignoring hangups

oawk

is the old version of a program for manipulating text files

od

displays files in octal format

page

pages through a text file

paste

merges same lines of several files or subsequent lines of one file

pathchk

checks pathnames

pax

is the Portable Archiver

pg

is the file perusal filter for CRTs

pgrep

finds processes by names and other attributes

pkill

signals processes by names and other attributes

pr

prints files

printenv

prints out the environment

printf

prints a text string

priocntl

controls the process scheduler

ps

prints process status

psrinfo

displays processor information

ptime

times a command

pwd

prints the working directory name

random

generates a random number

readlink

displays the target of a symbolic link

renice

alters priority of running processes

rm

removes files

rmdir

removes directories

sdiff

prints file differences side-by-side

sed

is the stream editor

seq

prints a sequence of numbers

setpgrp

sets process group ID and session ID

settime

changes the access and modification dates of files

shl

is the shell layer manager

sleep

suspends execution for an interval

sort

sorts or merges files

spell

finds spelling errors

split

splits a file into pieces

stty

sets the options for a terminal

su

helps you become superuser or another user

sum

sums and counts blocks in a file

sync

updates the superblock

tabs

sets terminal tabs

tail

displays the last few lines of a file

tape

is a tool for magnetic tape maintenance

tapecntl

provides tape control for tape devices

tar

is the tape archiver

tcopy

copies a magnetic tape

tee

transcribes stdin to stdout while making a copy in a file

test

validates a condition

time

times a command

touch

updates file access and modification times

tr

translates characters

true

always returns 0

tsort

topologically sorts entries

tty

gets the terminal name

ul

underlines

uname

gets the system name

unexpand

converts spaces to tabs

uniq

reports repeated lines in a file

units

is a unit conversion program

uptime

shows how long a system has been up for

users

displays a compact list of users logged on

w

displays who is on and what they are doing

watch

executes a command repeatedly

wc

prints word count

whatis

displays a one-line summary about a keyword

who

displays who is on the system

whoami

displays the current effective username

whodo

prints who is doing what

xargs

constructs argument lists and executes commands

yes

prints a string repeatedly