From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: orc@pell.portland.or.us (david parsons) Date: Tue, 8 Apr 2008 16:51:53 -0700 Message-ID: References: <20080403182301.GA940@shodan.homeunix.net> <38229A66-D771-46FB-9D4B-B1A1733D0FF0@mac.com> Subject: Re: [9fans] bug in echo? Topicbox-Message-UUID: 8b258304-ead3-11e9-9d60-3106f5b1d025 In article <38229A66-D771-46FB-9D4B-B1A1733D0FF0@mac.com>, Pietro Gagliardi wrote: >The ultimate echo, actually useful, but no one wants it. > >NAME > echo: echo arguments >SYNOPSIS > echo [-1abCDEeilmNnOqrtuVvwXx] [-B base] [-c cmd] [-d char] [-f >file] [-L len] [-o file] [-S voice] [-s char] [args...] >DESCRIPTION > echo outputs its arguments. It takes the following switches: You missed a few things in this shudderingly horrible version of echo: 1) no long options, which you need so you can have the --copyright and --version options. 2) no roman numeral output. Fortunately, I have no self-respect and some spare time, so when I implemented this gem of design minimalism I put those horrible omissions in. http://www.pell.portland.or.us/~orc/Code/secho/ I would have used the horrible FSF autoconfigure code, but it turns out that I've got some remaining standards. -david "share and enjoy!" parsons