docbook: markup for shell input


Previous by date: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Martin A. Brown
Next by date: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Emma Jane Hogbin
Previous in thread: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Martin A. Brown
Next in thread: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Emma Jane Hogbin

Subject: Re: markup for shell input
From: David Horton ####@####.####
Date: 16 Jun 2003 22:13:51 -0000
Message-Id: <3EEE4283.4090308@megsinet.net>

Emma Jane Hogbin wrote:
> This is my current sentence:
> 
> Do a <programlisting>locate &lt;file&gt;</programlisting>
> if they're not where I think they should be.
> 
> I don't really want the <prompt> bit in there was well. How should locate
> and file be marked up though? Maybe something like this:
> 	<programlisting><command>locate</command>
> <userinput>&lt;file&gt;</userinput></programlisting>
> 
> does that look right?
> 
> thanks!	
> 

How about:

Do a <command>locate <parameter>file</parameter></command> if they're 
not where they should be.

Or if you are giving a literal filename, for example readme.txt:

Do a <command>locate <filename>readme.txt</filename></command> if 
they're not where they should be.

-Dave




Previous by date: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Martin A. Brown
Next by date: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Emma Jane Hogbin
Previous in thread: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Martin A. Brown
Next in thread: 16 Jun 2003 22:13:51 -0000 Re: markup for shell input, Emma Jane Hogbin


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.