lkml.org 
[lkml]   [1998]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /dev/one - why not /dev/repeat?
On Wed, 23 Dec 1998, Dave Cinege wrote:
> > Anyone who thinks /dev/one or /dev/~zero or /dev/repeat is
> > something that needs to be implemented to fill a great need must
> > be embarrassingly unfamiliar with basic UNIX utilities.
>
> I write HEAVY DUTY scripts for LRP. All those scripts have to use are
> ash, sed, and a multicall binary. (No not even bash)
>
> Sometimes you do not have a 200MB worth of utils to acompish the job.

You don't need 200 MB worth of utilities:

yes "What you want repeated" | tr -d \\n

That's 19k for "tr" and a little over 4k for "yes". (They both use libc,
but you've already got that for ash and sed).

--Tim Smith


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.108 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site