[MPlayer-dev-eng] [PATCH] man-en-update ao subopts (fwd)

Tristan Seligmann mithrandi-mplayer-dev-eng at mithrandi.za.net
Fri May 21 09:31:05 CEST 2004


On Fri, May 21, 2004 at 02:27:09 +0200, Diego Biurrun wrote:
> Tristan Seligmann <mithrandi-mplayer-dev-eng at mithrandi.za.net> writes:
> > On Thu, May 20, 2004 at 22:43:01 +0200, Diego Biurrun wrote:
> > > > +.IPs "dsp\-device (like /dev/dsp)"
> > > > +Sets the audio-output device.
> > > 
> > > It's not necessary to escape the "-" in dsp-device.
> > 
> > Why not? Typing dspðdevice on the command-line won't work... you need
> > dsp-device instead.
> 
> Please elaborate, I do not understand what you are trying to say.

Using dsp-device in the man page source will result in dsp‐device being
displayed on output when the manpage is viewed. In most output locales,
both of those characters (minus and hyphen, I think) will both be
rendered as the '-' character; in some locales (only UTF-8?) however,
the character rendered for unescaped - is a hyphen and not a minus. If
you then try and, for example, copy and paste this to the terminal, it
won't work, because it's the wrong character. You always want the \-
form of this character for command-line options.

-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040521/276fb7ed/attachment.pgp>


More information about the MPlayer-dev-eng mailing list