9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* fix/enhancement for disk/mkfs.c
@ 1995-11-28 21:44 steve
  0 siblings, 0 replies; only message in thread
From: steve @ 1995-11-28 21:44 UTC (permalink / 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
>               }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-11-28 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-11-28 21:44 fix/enhancement for disk/mkfs.c steve

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).