Date: Wed, 6 Dec 1995 03:56:46 +0200 From: System Daemon <daemon@bee.cs.kiev.ua> Message-ID: <199512060156.DAA04929@bee.cs.kiev.ua>
next in thread | raw e-mail | index | archive | help
Bob Willcox (bob@luke.pmr.com) wrote: > Thanks, though I had already written a similar program per a > suggestion from Julian Elischer. Seems that SysV and AIX both > have this program and I was (wrongly) thinking that something > like it existed in FreeBSD. actually, it does. put this into /sbin/unlink: #!/bin/sh perl -U -le 'unlink(shift) while scalar @ARGV' ${1+"$@"} I vote for putting a static copy of perl 5 into /bin. It can do (almost) everything, and you can provide a handful of commands there. see: text data bss dec hex 282624 16384 41584 340592 53270 /bin/sh 356352 32768 3728 392848 5fe90 miniperl 360448 32768 3752 396968 60ea8 perl 471040 36864 55452 563356 8989c staticminiperl - this one without any extensions, 500K when stripped. -- Freedom's just another word for nothing left to lose. - Kris Kristofferson & Janis Joplin -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512060156.DAA04929>