From cff3fe3ae9696584f0c4bdad6860e8d94d5e99f9 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 20 Sep 2000 19:22:26 +0000 Subject: Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com. -Erik --- docs/busybox.pod | 47 ++++++++++++++++++++++++++++++++++++----------- docs/busybox.sgml | 42 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 76 insertions(+), 13 deletions(-) (limited to 'docs') diff --git a/docs/busybox.pod b/docs/busybox.pod index fed8b57a6..5fd15cab5 100644 --- a/docs/busybox.pod +++ b/docs/busybox.pod @@ -55,16 +55,17 @@ terse runtime description of their behavior. Currently defined functions include: -ar, basename, cat, chgrp, chmod, chown, chroot, chvt, clear, cp, cut, date, -dc, dd, deallocvt, df, dirname, dmesg, du, dumpkmap, dutmp, echo, false, fbset, -fdflush, find, free, freeramdisk, fsck.minix, getopt, grep, gunzip, gzip, halt, -head, hostid, hostname, id, init, insmod, kill, killall, length, ln, -loadacm, loadfont, loadkmap, logger, logname, ls, lsmod, makedevs, mkdir, -mkfifo, mkfs.minix, mknod, mkswap, mktemp, more, mount, mt, mv, nc, -nslookup, ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir, rmmod, sed, -setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, -tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, update, -uptime, usleep, uudecode, uuencode, wc, which, whoami, yes, zcat, [ +ar, basename, cat, chgrp, chmod, chown, chroot, chvt, clear, cp, cut, date, dc, +dd, deallocvt, df, dirname, dmesg, dos2unix, du, dumpkmap, dutmp, echo, false, +fbset, fdflush, find, free, freeramdisk, fsck.minix, getopt, grep, gunzip, +gzip, halt, head, hostid, hostname, id, init, insmod, kill, killall, length, +ln, loadacm, loadfont, loadkmap, logger, logname, ls, lsmod, makedevs, mkdir, +mkfifo, mkfs.minix, mknod, mkswap, mktemp, more, mount, mt, mv, nc, nslookup, +ping, poweroff, printf, ps, pwd, rdate, reboot, renice, reset, rm, rmdir, +rmmod, sed, setkeycodes, sh, sleep, sort, swapoff, swapon, sync, syslogd, tail, +tar, tee, telnet, test, touch, tr, true, tty, umount, uname, uniq, unix2dos, +unrpm, update, uptime, usleep, uudecode, uuencode, wc, which, whoami, yes, +zcat, [ ------------------------------- @@ -412,6 +413,14 @@ Print or controls the kernel ring buffer. ------------------------------- +=item dos2unix + +Usage: dos2unix < dosfile > unixfile + +Converts a text file from dos format to unix format. + +------------------------------- + =item du Usage: du [OPTION]... [FILE]... @@ -1929,6 +1938,22 @@ Example: ------------------------------- +=item unix2dos + +Usage: unix2dos < unixfile > dosfile + +Converts a text file from unix format to dos format. + +------------------------------- + +=item unrpm + +Usage: unrpm < package.rpm | gzip -d | cpio -idmuv + +Extracts an rpm archive. + +------------------------------- + =item update Usage: update [options] @@ -2157,4 +2182,4 @@ Enrique Zanardi =cut -# $Id: busybox.pod,v 1.68 2000/09/15 17:24:13 proski Exp $ +# $Id: busybox.pod,v 1.69 2000/09/20 19:22:26 andersen Exp $ diff --git a/docs/busybox.sgml b/docs/busybox.sgml index f4161f59e..e8a91fa05 100644 --- a/docs/busybox.sgml +++ b/docs/busybox.sgml @@ -1,5 +1,4 @@ - + BusyBox - The Swiss Army Knife of Embedded Linux @@ -746,6 +745,19 @@ + + dos2unix + + + Usage: dos2unix < dosfile > unixfile + + + + Converts a text file from dos format to unix format. + + + + du @@ -3394,6 +3406,32 @@ + + + unix2dos + + + Usage: unix2dos < unixfile > dosfile + + + + Converts a text file from unix format to dos format. + + + + + + + + + Usage: unrpm < package.rpm | gzip -d | cpio -idmuv + + + + Extracts an rpm archive. + + + update -- cgit v1.2.3