From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] bug in echo?
Date: Tue, 8 Apr 2008 20:02:40 -0400 [thread overview]
Message-ID: <E306D74D-7DEB-4FC3-BBB1-B1C26BEBC52E@mac.com> (raw)
In-Reply-To: <fth0ep$3ld@pell.portland.or.us>
Better yet, provide -- options for each! And then provide some way of
accessing them if -- won't work, like -f in gcc. And then let's add a -
Q option that suppresses the banner which reads
secho version xxx.xx
a program to echo its arguments, but improved
use the -h/--help option to get help
distributed under no warranty; use --license for details
Then let's add full locale support and an option to interpret and
print decimal and monetary values, and an option to support formatted
print a la printf and Console.Print (.net - but my memory of that is
fading).
On Apr 8, 2008, at 7:51 PM, david parsons wrote:
> In article <38229A66-D771-46FB-9D4B-B1A1733D0FF0@mac.com>,
> Pietro Gagliardi <pietro10@mac.com> 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
>
next prev parent reply other threads:[~2008-04-09 0:02 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 11:41 Gorka Guardiola
2008-03-26 12:27 ` Rob Pike
2008-03-26 12:41 ` Gorka Guardiola
2008-03-26 12:52 ` Sape Mullender
2008-03-26 13:19 ` Gorka Guardiola
2008-03-26 20:27 ` Iruata Souza
2008-03-26 12:40 ` Anthony Martin
2008-03-26 13:13 ` Gorka Guardiola
2008-03-26 13:19 ` Joel C. Salomon
2008-03-26 13:40 ` Gorka Guardiola
2008-03-31 8:58 ` Douglas A. Gwyn
2008-03-26 13:55 ` erik quanstrom
2008-03-26 15:52 ` Gorka Guardiola
2008-03-26 17:26 ` roger peppe
2008-03-26 18:10 ` erik quanstrom
2008-03-26 18:58 ` Pietro Gagliardi
2008-03-26 19:38 ` Joel C. Salomon
2008-03-26 19:43 ` Francisco J Ballesteros
2008-03-26 20:01 ` Pietro Gagliardi
2008-03-26 20:09 ` andrey mirtchovski
2008-03-26 20:22 ` Pietro Gagliardi
2008-03-26 20:30 ` andrey mirtchovski
2008-03-26 20:56 ` Pietro Gagliardi
2008-03-26 22:06 ` Iruata Souza
2008-03-26 22:26 ` Pietro Gagliardi
2008-03-26 22:54 ` Iruata Souza
2008-03-27 3:40 ` Robert William Fuller
2008-03-27 3:47 ` Bruce Ellis
2008-04-01 9:07 ` Douglas A. Gwyn
2008-03-27 1:57 ` Gorka Guardiola
2008-03-27 2:17 ` Gorka Guardiola
2008-03-27 2:21 ` Joel C. Salomon
2008-03-27 2:37 ` Pietro Gagliardi
2008-03-27 3:45 ` Bruce Ellis
2008-03-27 16:37 ` john
2008-03-27 17:03 ` [9fans] databases erik quanstrom
2008-03-27 19:08 ` Pietro Gagliardi
2008-03-28 4:05 ` a
2008-03-28 3:46 ` [9fans] bug in echo? a
2008-03-31 16:26 ` Russ Cox
2008-04-01 9:07 ` Douglas A. Gwyn
2008-03-26 20:10 ` roger peppe
2008-04-01 9:06 ` Douglas A. Gwyn
2008-04-01 9:06 ` Douglas A. Gwyn
2008-04-01 9:22 ` Anders Li
2008-04-03 8:54 ` Douglas A. Gwyn
2008-04-03 16:46 ` ron minnich
2008-04-03 18:04 ` Gorka Guardiola
2008-04-03 18:23 ` Martin Neubauer
2008-04-03 19:11 ` Pietro Gagliardi
2008-04-03 19:30 ` Steven D. Vormwald
2008-04-03 19:44 ` Pietro Gagliardi
2008-04-03 22:16 ` a
2008-04-03 22:26 ` Pietro Gagliardi
2008-04-03 22:44 ` John Floren
2008-04-03 22:53 ` Pietro Gagliardi
2008-04-03 23:12 ` Martin Neubauer
2008-04-08 23:51 ` david parsons
2008-04-09 0:02 ` Pietro Gagliardi [this message]
2008-03-26 13:15 ` Joel C. Salomon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E306D74D-7DEB-4FC3-BBB1-B1C26BEBC52E@mac.com \
--to=pietro10@mac.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).