Date: Fri, 4 Jun 2004 09:03:19 +0200 (CEST) From: Konrad Heuer <kheuer2@gwdg.de> To: Darren Pilgrim <dmp@bitfreak.org> Cc: questions@freebsd.org Subject: Re: uuencode(1) doesn't work? Message-ID: <20040604090033.D1201@gwdu60.gwdg.de> In-Reply-To: <002101c449fe$edf7b010$0a2a15ac@spud> References: <002101c449fe$edf7b010$0a2a15ac@spud>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Jun 2004, Darren Pilgrim wrote: > I'm trying to uuencode some data, but uuencode doesn't seem to work > properly. I'm using FreeBSD 4.8-RELEASE-p22. Here are some examples: > > $ date | uuencode > usage: uuencode [-m] [-o outfile] [infile] remotefile > b64encode [-o outfile] [infile] remotefile > $ cat /etc/rc.conf | uuencode > usage: uuencode [-m] [-o outfile] [infile] remotefile > b64encode [-o outfile] [infile] remotefile > $ > > Specifying a filename, rather than using a pipe, doesn't seem to work > either: > > $ uuencode file > begin 644 file > > After printing the begin line it idles. A debug copy of uuencode run > with gdb shows the program stopping on the read() call trying to get > data (fread() called from the while loop in encode()). > > Anyone know why? Try: date | uuencode -o date.uu date date will be the name of the file after (later) uudecoding, and date.uu will be the uuencoded transport file. Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040604090033.D1201>