X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/6cc550655fad64e784ff87916f3ef439ebaf4c4a..b0eec6c5a8551f22e3c08c6aa0c0ad1b0b748250:/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 ("\n"); + printf ("\n"); printf ( \ "\n" \ @@ -197,9 +199,9 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT "Mount point\n" \ "%% Usato (*)" \ " - %% Free (*)\n" \ - "%% Usato\n" \ - "Spazio libero\n" \ - "Spazio totale\n" \ + "%% Used\n" \ + "Free\n" \ + "Total\n" \ "\n" ); } else