X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/046b0279b0f3eb827bcc2b2e395e6ea69c019733..af3bcd29922f918780b42273d6d174e7d2b0a0d1:/scripts/dfs diff --git a/scripts/dfs b/scripts/dfs index 1730b6e..d78d2bb 100755 --- a/scripts/dfs +++ b/scripts/dfs @@ -6,6 +6,8 @@ # Integrated into Lain in september 2013 # https://github.com/copycat-killer/lain +# Requires gawk + # ------------------------------------------------------------------------- # Decoding options # ------------------------------------------------------------------------- @@ -183,7 +185,7 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT current_date = strftime ("%d-%m-%Y @ %H:%M:%S", localtime (systime ())); free_threshold = 10; # % - printf ("<!-- DEBUT CONTENU -->\n"); + printf ("<!-- DEBUT CONTENU -->\n"); printf ( \ "<A NAME=\"top\"></A>\n" \ @@ -197,9 +199,9 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT "<TD ALIGN=LEFT><STRONG>Mount point</STRONG></TD>\n" \ "<TD ALIGN=CENTER><STRONG>%% Usato (<SPAN CLASS=\"titleblue\">*</SPAN>)" \ " - %% Free (<SPAN CLASS=\"titlegreen\">*</SPAN>)</STRONG></TD>\n" \ - "<TD ALIGN=CENTER><STRONG>%% Usato</STRONG></TD>\n" \ - "<TD ALIGN=CENTER><STRONG>Spazio libero</STRONG></TD>\n" \ - "<TD ALIGN=CENTER><STRONG>Spazio totale</STRONG></TD>\n" \ + "<TD ALIGN=CENTER><STRONG>%% Used</STRONG></TD>\n" \ + "<TD ALIGN=CENTER><STRONG>Free</STRONG></TD>\n" \ + "<TD ALIGN=CENTER><STRONG>Total</STRONG></TD>\n" \ "</TR>\n" ); } else