Forráskód Böngészése

Line restriction on the first file

DricomDragon 5 éve
szülő
commit
fd7a732149
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      firstDiff.sh

+ 1 - 1
firstDiff.sh

@@ -1,3 +1,3 @@
 #!/bin/bash
 
-diff $1 $2
+head -n 3 $1 | diff - $2