9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: [9fans] rc complaining about syntax error on {
Date: Wed, 28 Nov 2007 17:28:52 -0500	[thread overview]
Message-ID: <490725B4-4F2D-42BA-B6D0-D634402E0429@mac.com> (raw)

Hello. I was writing a program called 12 which displays twelve-hour  
time. It accepts the following options:
	-g	show time as part of date output
	-u	sent to date
date's -n option is rejected. The default behavior is to show only  
the 12-hour time. Now when I run this feature-complete version, it  
gives me an error saying that '}' on line 24(?) is a syntax error.  
Huh? I added
	flag x +
but apparently rc scans its whole input for errors before executing,  
so it brings me no closer to a solution. The file is /n/sources/ 
contrib/pietro/12. What's going on?


             reply	other threads:[~2007-11-28 22:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 22:28 Pietro Gagliardi [this message]
2007-11-28 23:15 ` Federico G. Benavento

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=490725B4-4F2D-42BA-B6D0-D634402E0429@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@cse.psu.edu \
    /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).