Help for this page

Select Code to Download


  1. or download this
    $ sed 's/=/ /' complex_file | join -a 1 -1 1 -2 3 simple_file -
    
  2. or download this
    $ mv simple_file simple_file.bk; sort simple_file.bk > simple_file
    $ mv complex_file comple_file.bk; sed 's/=/\t/' complex_file.bk | sort
    + -k 3,3r | sed 's/\t/=/' > complex_file