Help for this page

Select Code to Download


  1. or download this
    perl -p -0 -e 's/(?<!\n)\n\n(?!\n)/\n/g;' singleblank.txt
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    none
    one
    
  3. or download this
    none
    one
    ...
    
    none
    one