3 Replies Latest reply on Dec 12, 2013 6:52 AM by Bill Robinson

    Patching a JSP file - merging with NSH

    Tal Abramson

      Does anyone has an experience merging two files using NSH ?

      I need to patch few hundreds of targets with a change to a JSP file(adding few lines)

      But many of these have been altered

      The diff command did not gave me a simple solution , and the best i came with was

      diff -U 100000 file1 file2 > file3

      And then clean file3 (delete first 3 lines , and remove all + )


      Is there any other option in blade for this task ?