Help for this page

Select Code to Download


  1. or download this
    c:\> perl -n -e "print if /^PARTNAME/ && /PARTNAME$/ && $last; $last =
    + /^xyzdf/ && /xyzdf$/ ? $_ : ''" file1>file2
    # file2:
    #PARTNAMEhjjhhjhjkjkjkjkjPARTNAME
    #PARTNAMEhjjh88888888888jkjkjkjkjPARTNAME
    #PARTNAMEhjjh8888iiiiiiiiiiiii888jkjkjkjkjPARTNAME
    
  2. or download this
    xyzdf
    PARTNAMEXXXXPARTNAME
    
  3. or download this
    c:\> perl -n -e "print if /^PARTNAME/ && /PARTNAME$/ && $last; $last =
    + /^xyzdf/ && /.xyzdf$/ ? $_ : ''" file1>file2