This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: >, >>, and "tee" operators


>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:

>> transcript > FILE
>> transcript >> FILE
>> transcript | COMMAND

Daniel> I don't like this syntax very much.  It looks too much like
Daniel> dumping the output of a command ("transcript") to the file,
Daniel> not like a redirection for the future output.

Good point.

Daniel> Also - is piping to a command actually useful?

I don't know.  I haven't even been running with this patch in place,
since the feature in general is only occasionally useful to me.  I
thought I saw a request for this (piping to a command)?

Daniel> Hmm...  How do you feel about:
Daniel> 	transcript [-append] FILE
Daniel> 	tee [-append] FILE
Daniel> Where transcript replaces ">" and ">>"?

That looks good to me.  Or even `transcript [-tee] [-append] FILE'.
Or maybe `[-notee]', with tee as the default.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]