Help for this page

Select Code to Download


  1. or download this
    /* file name is endno1.c */
    * should*/ int i; 10002
    /*should not*/ int j;
    /*should not*/ int k;
    /* should*/ int m; 20002
    
  2. or download this
    int i;
    int j;
    /* 10th line = 20 */ int k;
    /*should*/ int m; 20005
    
  3. or download this
    find . -name "*.c" -exec cat {} \; |perl -ne 'print $1\n" if $_ =~ /(.
    +*)\d+$/'
    
  4. or download this
    /*should*/ int m; 2000
    /* should*/ int i; 1000
    /* should*/ int m; 2000
    
  5. or download this
    find . -name "*.c" -exec cat {} \; |perl -ne 'print $1\n" if $_ =~ /(.
    +*)(.*?(?=\d))$/'
    
  6. or download this
    /* 10th line = 2 */