Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 1999 15:44:59 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        John Baldwin <jobaldwi@vt.edu>
Cc:        Jesus Rodriguez <jesusr@ncsa.es>, Nik Clayton <nik@FreeBSD.ORG>, FreeBSD Documentation Project <doc@FreeBSD.ORG>, Greg Lehey <grog@lemis.com>
Subject:   Re: Two spaces OK
Message-ID:  <19991008154459.C33390@mithrandr.moria.org>
In-Reply-To: <199910081051.GAA86553@server.baldwin.cx>; from John Baldwin on Fri, Oct 08, 1999 at 06:51:07AM -0400
References:  <XFMail.991008110503.jesusr@ncsa.es> <199910081051.GAA86553@server.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 1999-10-08 (06:51), John Baldwin wrote:
> As do I.  I believe that supposedly the reasoning was that it inserted
> an extra newline into the output, but I've never actually seen that
> result.

I did some testing, and here's what I got.

Both

<informalexample>
<programlisting>for tty in /dev/ttyv?
do
  vidcontrol VGA_80x60 &lt;$tty &gt;/dev/null 2&gt;&amp;1
done</programlisting>
</informalexample>

And:

<informalexample>
<programlisting>
for tty in /dev/ttyv?
do
  vidcontrol VGA_80x60 &lt;$tty &gt;/dev/null 2&gt;&amp;1
done
</programlisting>
</informalexample>

I got:

            <div class="INFORMALEXAMPLE">
<pre class="PROGRAMLISTING">
    for tty in /dev/ttyv?
    do
      vidcontrol VGA_80x60 &lt;$tty &gt;/dev/null 2&gt;&amp;1
    done
</pre>
            </div>

For <screen> -

<informalexample>
<screen>bash$ <userinput>vidcontrol VGA_80x60</userinput></screen>
</informalexample>

And

<informalexample>
<screen>
bash$ <userinput>vidcontrol VGA_80x60</userinput>
</screen>
</informalexample>

both gave:

        <div class="INFORMALEXAMPLE">
<pre class="SCREEN">
    bash$ <tt class="USERINPUT"><b>vidcontrol VGA_80x60</b></tt>
</pre>
        </div>

If noone has any other evidence, I'd like to propose the more
readable form.

I get the impression it just ignores a starting and ending empty
lines - blank (ie, with spaces) lines still show up.

Neil
-- 
Neil Blakey-Milner
nbm@rucus.ru.ac.za


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991008154459.C33390>