# it is - thanks!

On 5/4/07, Brendan Gregg - Sun Microsystems <brendan at sun.com> wrote:
>
> G'Day,
>
> On Fri, May 04, 2007 at 08:44:53PM -0400, Blake wrote:
> > What's our convention in Solaris docs for showing command line
> entries?  Do
> > we use a generic prompt marker, or just list the commands?
>
> Use a prompt marker - it is a useful way to differentiate root/non-root
> commands.
>
> There is a convention listed at the start of most docs.sun.com books,
>
>         C shell                                         machine_name%
>         C shell for superuser                           machine_name#
>         Bourne shell and Korn shell                     $
>         Bourne shell and Korn shell for superuser       #
>
> Which makes sense (or made sense in 1990, before bash/zsh ;).
>
> The following is what I use anyway,
>
>         root            #
>         non-root        $
>
> and if the example is switching between hosts,
>
>         root            hostname#
>         non-root        hostname$
>
> and if the example is moving around different directories,
>
>         root            pathname#
>         non-root        pathname$
>
> Brendan
>
> --
> Brendan
> [CA, USA]
>



-- 

blake/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/docs-discuss/attachments/20070504/3728ce35/attachment.html>

Reply via email to