On Fri, February 8, 2008 2:03 pm, Chris Grau wrote:
> On Fri, Feb 08, 2008 at 01:58:21PM -0800, Lan Barnes wrote:
>> IIRC there is a utility that converts Linux and DOS test. unix2dos or
>> somesuch. Really just EOLn.
>
> You recall correctly.
>
> [EMAIL PROTECTED] ~]$ man -k unix2dos
> unix2dos             (1)  - UNIX to DOS text file format converter
>
> On my CentOS 4 box, it's in the unix2dos package.
>
> [EMAIL PROTECTED] ~]$ rpm -qf /usr/bin/unix2dos
> unix2dos-2.2-24.1
>

OK, it's in /usr/lib/mindi/rootfs/usr/bin/../../bin/busybox on my FC 6
box. It's /sbin/busybox on FC 4 here at work. Apparently needs you to link
to it from a pathed dir by a name and then does the right thing depending
on argv0.

Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        [, [[, ar, ash, awk, basename, busybox, cat, chgrp, chmod, chown,
chroot, chvt, cksum, clear, cmp, cp, cpio, cut, date, dd, df,
diff, dirname, dmesg,
        dos2unix, du, echo, egrep, eject, env, expr, false, fdflush,
fdformat, fgrep, find, free, freeramdisk, grep, gunzip, gzip,
halt, head, hostname, hwclock,
        id, ifconfig, insmod, ip, ipcalc, kill, killall, klogd, less, ln,
loadkmap, logger, logread, losetup, ls, lsmod, lzmacat, md5sum,
mesg, mkdir, mkfifo,
        mknod, mkswap, mktemp, modprobe, more, mount, mt, mv, nameif, nc,
netstat, nslookup, od, openvt, patch, pidof, ping, pipe_progress,
pivot_root, poweroff,
        ps, pwd, readlink, realpath, reboot, renice, reset, rm, rmdir,
rmmod, route, sed, setkeycodes, sh, sha1sum, sleep, sort, strings,
stty, swapoff, swapon,
        sync, sysctl, syslogd, tail, tar, tee, telnet, test, tftp, top,
touch, tr, traceroute, true, tty, udhcpc, umount, uname, uniq,
unix2dos, unlzma, uptime,
        vi, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat



Thanks to both.

-- 
Lan Barnes

SCM Analyst              Linux Guy
Tcl/Tk Enthusiast        Biodiesel Brewer


-- 
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to