mon cerveau malade a besoin de plein de variations des outils UNIX
This commit is contained in:
8
shell/fid
Executable file
8
shell/fid
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIFF=/usr/bin/diff
|
||||
GREP="/bin/grep"
|
||||
SED=/bin/sed
|
||||
DOG=/usr/local/bin/dog
|
||||
${DIFF} --new-line-format='+%L' --old-line-format='-%L' --unchanged-line-format=' %L' "${1}" "${2}" | ${GREP} -v "^+.*$" | ${GREP} -v "^-.*$" | ${SED} 's/^.//' | ${DOG}
|
||||
|
||||
Reference in New Issue
Block a user