All of lore.kernel.org
 help / color / mirror / Atom feed
* newrules.pl -o option
@ 2003-10-09  1:24 Yuichi Nakamura
       [not found] ` <1065723279.53567.0.camel@vorpal.mcs.drexel.edu>
  0 siblings, 1 reply; 12+ messages in thread
From: Yuichi Nakamura @ 2003-10-09  1:24 UTC (permalink / raw)
  To: selinux


The usage of newrules.pl 's -o option is "-o  append output to <outputfile>".
"-o" means "append", but <outputfile> is overwritten.
Is the following patch correct ? 
Thank you.

--- newrules.pl.orig    2003-10-08 18:48:50.000000000 +0900
+++ newrules.pl 2003-10-08 18:48:59.000000000 +0900
@@ -37,7 +37,7 @@
 elsif ($input)   { open (IN, "$input");      }
 else             { open (IN, "-");           }  # STDIN
  
-if ($output)     { open (OUT, ">$output");   }
+if ($output)     { open (OUT, ">>$output");   }
 else             { open (OUT, ">-");         }  # STDOUT

----
Yuichi Nakamura
ynakam@ori.hitachi-sk.co.jp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-10-11  8:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09  1:24 newrules.pl -o option Yuichi Nakamura
     [not found] ` <1065723279.53567.0.camel@vorpal.mcs.drexel.edu>
2003-10-10  0:08   ` Yuichi Nakamura
2003-10-10  6:41     ` Russell Coker
2003-10-10 10:07       ` Yuichi Nakamura
2003-10-11  8:19         ` newrules.pl's -l option patch (Was: Re: newrules.pl -o option) Yuichi Nakamura
2003-10-10  8:28     ` newrules.pl -o option Dale Amon
2003-10-10 10:32       ` Dale Amon
2003-10-10 11:16       ` Russell Coker
2003-10-10 13:40         ` Stephen Smalley
2003-10-10 14:40           ` Russell Coker
2003-10-10 14:54             ` Stephen Smalley
2003-10-10 15:35               ` Dale Amon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.