public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* dash dash?
@ 2010-08-06 13:22 Nellis, Kenneth
  2010-08-06 13:29 ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: Nellis, Kenneth @ 2010-08-06 13:22 UTC (permalink / raw)
  To: cygwin

Attempting to do some housecleaning and uninstall packages
I no longer use,  I attempted to uninstall dash, but Setup 
informs me that it is required by rebase. Wouldn't bash or 
the Bourne shell be a more appropriate choice? Sure,  dash
is smaller than either,  but efficiency isn't critical for
an application such as rebase.

I then ran "man dash" and found two places in the man page 
that use the Unicode MATHEMATICAL LEFT/RIGHT ANGLE BRACKET 
(U+27E8/27E9) symbols. These symbols probably don't render
properly on most folk's systems, so IMHO are a poor choice 
of symbols to use in a man page. In an example, it shows:

    lf foobar ⟨return⟩

--Ken Nellis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dash dash?
  2010-08-06 13:22 dash dash? Nellis, Kenneth
@ 2010-08-06 13:29 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2010-08-06 13:29 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]

On 08/06/2010 07:21 AM, Nellis, Kenneth wrote:
> Attempting to do some housecleaning and uninstall packages
> I no longer use,  I attempted to uninstall dash, but Setup 
> informs me that it is required by rebase. Wouldn't bash or 
> the Bourne shell be a more appropriate choice? Sure,  dash
> is smaller than either,  but efficiency isn't critical for
> an application such as rebase.

rebaseall (which is a wrapper around rebase) _cannot_ rebase an in-use
.dll.  Dash has fewer in-use dlls than bash.  Therefore, dash is the
(much) better choice for rebase.

By the way, the Bourne shell is pretty much obsolete.  On Solaris,
/bin/sh is still the Bourne shell, but on every other system, /bin/sh
aims to be POSIX-compatible (the historic Bourne shell does not comply
with POSIX).  And for portability reasons, you are better off writing a
POSIX-compatible script that can use /bin/sh rather than requiring
/bin/bash.

I'm also entertaining the notion of following Debian's lead and
switching /bin/sh to dash, since dash is noticeably faster than bash if
your script is POSIX-conforming.  Not very seriously yet, but it's not
out of the question.

> 
> I then ran "man dash" and found two places in the man page 
> that use the Unicode MATHEMATICAL LEFT/RIGHT ANGLE BRACKET 
> (U+27E8/27E9) symbols. These symbols probably don't render
> properly on most folk's systems, so IMHO are a poor choice 
> of symbols to use in a man page. In an example, it shows:
> 
>     lf foobar ⟨return⟩

Please report bugs in the dash man page upstream to the dash development
list.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-06 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 13:22 dash dash? Nellis, Kenneth
2010-08-06 13:29 ` Eric Blake

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 read-only IMAP folder(s) and NNTP newsgroup(s).