lkml.org 
[lkml]   [1998]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: /dev/one - why not /dev/repeat?
    At 22.12.98 21:58 +0000, thunder7@xs4all.nl wrote:
    Are there advantages in having something like /dev/repeat?
    >
    >echo -n "echo this" > /dev/repeat
    >
    >cat /dev/repeat
    >echo thisecho thisecho thisecho this

    What would be wrong with a program named repeat ?
    echo -n "echo this " | repeat

    Or

    echo -n "echo this" > file
    while true
    do
    cat file
    done

    Why aren't expr, eval, sed, tr etc not implemented as
    devices ?

    I am sure it would be fun to implement something like
    this as a starter to learn something about the kernel,
    but I don't think it should be more than that.

    Wolfgang
    -----
    Wolfgang Rohdewald, Verisoft AG
    if the above return address does not work, please use wr@poboxes.com
    -----


    -
    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.019 / U:0.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site