Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
JustAnotherArchivist
/
little-things
Seguir
2
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Colourise sha1sum output
master
JustAnotherArchivist
hace 3 años
padre
18a3305e79
commit
cbebafe588
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
iasha1check
+ 1
- 1
iasha1check
Ver fichero
@@ -41,7 +41,7 @@ fi
echo
echo "SHA-1 comparison:"
sha1sum -c < <(printf "%s\n" "${iasha1sums[@]}") > >(
sed '
s,^, ,') 2>&1
sha1sum -c < <(printf "%s\n" "${iasha1sums[@]}") > >(
perl -pe 's,^(.*)(?<!: OK)$,'"${RED}"'\1'"${RESET}"',; s,: OK$,: '"${GREEN}OK${RESET}"',;
s,^, ,') 2>&1
if [[ $? -eq 0 ]]
then
echo "SHA-1 comparison: ${GREEN}OK${RESET}"
Escribir
Vista previa
Cargando…
Cancelar
Guardar