9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: steve@plan9.ecf.toronto.edu steve@plan9.ecf.toronto.edu
Subject: fix/enhancement for disk/mkfs.c
Date: Tue, 28 Nov 1995 16:44:43 -0500	[thread overview]
Message-ID: <19951128214443.PYkfbdSC8d51sWebIWNSwUF8WN4pq6qSp8hOLS7hCFI@z> (raw)

By default, the '-v' (verb) option prints the name of all files,
whether or not they are actually copied. This doesn't seem to quite
agree with the behavior described in the manpage, which is what I'd prefer.
The following patch will cause '-v' to only print filenames for files
that are copied:

stealth% pwd
/sys/src/cmd/disk
stealth% diff orig mkfs.c
267,268d266
<       if(verb)
<               fprint(2, "%s\n", f->new);
295c293,295
<               else
---
>               else {
>                       if(verb)
>                               fprint(2, "%s\n", f->new);
296a297
>               }






                 reply	other threads:[~1995-11-28 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19951128214443.PYkfbdSC8d51sWebIWNSwUF8WN4pq6qSp8hOLS7hCFI@z \
    --to=steve@plan9.ecf.toronto.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).