NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56134: patch: add feedback to tee(1)



The following reply was made to PR bin/56134; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56134: patch: add feedback to tee(1)
Date: Mon, 7 Jun 2021 03:21:55 +0000

 On Mon, May 03, 2021 at 09:40:02PM +0000, James K. Lowden wrote:
  >  BTW, the above script would be much nicer if this worked: 
  >  
  >  	#! /usr/bin/progress -e cat
  >  
  >  Is there interest in modifying the kernel to reliably pass, say, 9
  >  arguments, instead of just 1 on the interpreter line? Or are we dead
  >  set against?  Asking for a friend.  
 
 It is not that difficult to do but ends up being a can of worms.
 
 (How do you separate the arguments? How many? How large? What about
 quoting?  Obviously shell variables can't be expected to work, but not
 everyone understands the innards so this then has to be explained. And
 what about inserting the original arguments in the middle rather than
 the end? It's obviously desirable to be able to do that. Etc.)
 
 ...and so whenever this comes up the consensus seems to be that it's
 best to leave it alone.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index