public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
From: Yngve Svendsen <yngve.svendsen@sun.com>
To: gnats-prs@gnu.org, duncan.lindley@computershare.com.au,
	pdm-gnats@zamazal.org
Subject: Re: gnats/400: query-pr "printf string" format functionality does not behave as expected
Date: Tue, 24 Sep 2002 14:46:00 -0000	[thread overview]
Message-ID: <5.1.0.14.2.20020924234501.042b1af8@clustra.norway.sun.com> (raw)

At Sun Jul 21 23:43:51 -0400 2002, Duncan Lindley wrote:
>Documentation is thin..
>this is a normal query
>bash-2.05a$ query-pr --format summary -d gnats-sandpit 
>--state="open|analyzed|feedback|suspended|moderate|test" --category=test-1
>2 gnats-ad test-1 open non-criti low computersh index broke
>5 Duncan_L test-1 open non-criti low computersh my adsl router arrived
>7 gnats-ad test-1 open critical high computersh Attaching a bmp
>
>This is how i read the docco.. mabye i am wrong
>bash-2.05a$ query-pr --format "%s %s %s" State Originator Responsible -d 
>gnats-sandpit --state="open|analyzed|feedback|suspended|moderate|test" 
>--category=test-1
>query-pr: Invalid field name or query format %s
>
>and this seems to work but doesnt return results
>bash-2.05a$ query-pr --format Responsible "%F" -d gnats-sandpit 
>--state="open|analyzed|feedback|suspended|moderate|test" --category=test-1
>query-pr: no PRs matched

Ouch. The docs are wrong. The whole format expression needs to be quoted, 
like this:

query-pr --format '"%s %s %s" State Originator Responsible'



Yngve Svendsen



_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs


             reply	other threads:[~2002-09-24 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24 14:46 Yngve Svendsen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 11:30 duncan.lindley

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=5.1.0.14.2.20020924234501.042b1af8@clustra.norway.sun.com \
    --to=yngve.svendsen@sun.com \
    --cc=duncan.lindley@computershare.com.au \
    --cc=gnats-prs@gnu.org \
    --cc=pdm-gnats@zamazal.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).