lkml.org 
[lkml]   [2000]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [ot?] [patch] posting .config files
    David Ford wrote:
    > sed '/^CONFIG/!d;s/CONFIG_//;s/=y//' .config
    >
    > ..a bit easier to read, shorter, faster :)
    >
    > shall we have a competition to improve this regex even more?

    FWIW,

    sed 's/=y//;/^CONFIG_/s///p;d' .config

    Not necessarily faster, though.

    - Werner

    --
    _________________________________________________________________________
    / Werner Almesberger, ICA, EPFL, CH werner.almesberger@ica.epfl.ch /
    /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

    -
    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:56    [W:0.028 / U:119.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site