mon cerveau malade a besoin de plein de variations des outils UNIX

This commit is contained in:
2017-06-05 12:49:07 +02:00
parent 236c37eed0
commit e94b38aeeb
10 changed files with 504 additions and 0 deletions

8
shell/fid Executable file
View 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}