Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env sh
    
    ...
    
        END { print $f_max_line // "No line with number found.\n" }
    '
    
  2. or download this
    #!/usr/bin/env sh
    
    ...
        -wne 'print max(/$RE{num}{real}/g) // "NaN", " : ", $_'  |
        sort -k1nr | head -1 |
        sed 's/^NaN :.*$/No line with number found./;s/^[0-9-]* : //'