9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] debugging rc
Date: Tue,  5 Jul 2011 09:46:30 +0200	[thread overview]
Message-ID: <201107050946.31302.dexen.devries@gmail.com> (raw)
In-Reply-To: <BANLkTim=JAO0bPPuCpCBS24jXs0j5ja9bQ@mail.gmail.com>

On Tuesday 05 of July 2011 09:31:43 Rudolf Sykora wrote:
> (...) 
> Is there any better way? Can rc be told to give some
> more helpful info?

there are:
flag x +
flag r +

the output produced by r + is somewhat strange, but may be good enough. In your case, it shows difference between *$a* and *$a^*:

the former is:

Xdol (a*) () ()
Xmark () ()
Xword () () ()
Xconc (*) () ()
rc: null list in concatenation


(guess `Xdol (a*)' means `dereference variable a*' (preasumably empty), which is  in turn Xconc()atenated with literal `*' and thus the error)

the later is 

Xdol (a) () () (*) ()
Xmark (name) () (*) ()
Xword () (name) () (*) ()
Xconc (*) (name) () (*) ()
Xconc (*name) (*) ()




-- 
dexen deVries

[[[↓][→]]]

For example, if the first thing in the file is:
   <?kzy irefvba="1.0" rapbqvat="ebg13"?>
an XML parser will recognize that the document is stored in the traditional ROT13 encoding.

(( Joe English, http://www.flightlab.com/~joe/sgml/faq-not.txt ))



  reply	other threads:[~2011-07-05  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05  7:31 Rudolf Sykora
2011-07-05  7:46 ` dexen deVries [this message]
2011-07-05 12:16   ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201107050946.31302.dexen.devries@gmail.com \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).