9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rudolf Sykora <rudolf.sykora@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] hoc's behaviour, unary operators
Date: Fri, 30 Oct 2009 16:20:36 +0100	[thread overview]
Message-ID: <a560a5d00910300820s126ccc40y56c5de7a5b64e94f@mail.gmail.com> (raw)

Hello

why
1+-2
is ok for the 'hoc' command, while both
1--2
1-+2
produce a syntax error?
(If spaces are added as in
1- -2
1- +2,
hoc is fine with the former but still rejects the latter...)

Thanks
Ruda



             reply	other threads:[~2009-10-30 15:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 15:20 Rudolf Sykora [this message]
2009-10-30 15:44 ` Rudolf Sykora
2009-10-30 15:55   ` Jorden Mauro
2009-10-30 16:09     ` Rudolf Sykora
2009-10-30 16:27       ` Martin Neubauer
2009-10-30 18:19         ` Rudolf Sykora
2009-10-30 16:22     ` Martin Neubauer
     [not found] <<a560a5d00910301119t4ee76736j80bdebbb9fa9bd31@mail.gmail.com>
2009-10-30 18:28 ` erik quanstrom
2009-10-30 19:03   ` matt
2009-10-30 19:39   ` Rudolf Sykora
2009-11-02  9:56   ` Dennis Ritchie

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=a560a5d00910300820s126ccc40y56c5de7a5b64e94f@mail.gmail.com \
    --to=rudolf.sykora@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).