]> git.madduck.net Git - etc/awesome.git/blobdiff - scripts/dfs

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

quake: add a new option `onlyone`.
[etc/awesome.git] / scripts / dfs
index 1de819a94ba2813867b8fb2d19197fafc8e0a871..47c7b82020f88ef131cc90962e1b0a2956e2bebe 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 #   Adapted from Eridan's "fs" (cleanup, enhancements and switch to bash/Linux)
 #   JM,  10/12/2004
 #
 #   Adapted from Eridan's "fs" (cleanup, enhancements and switch to bash/Linux)
 #   JM,  10/12/2004
@@ -224,7 +224,7 @@ echo "$SORTED_FILE_SYSTEMS_INFO" | $AWK_COMMAND -v DEBUG=$DEBUG -v PATTERN=$PATT
                                                         printf ("%-*s", LEFT_COLUMN + 2, "");
                                         print "                                                    Used     Free       Total ";
                                         if (! NARROW_MODE)
                                                         printf ("%-*s", LEFT_COLUMN + 2, "");
                                         print "                                                    Used     Free       Total ";
                                         if (! NARROW_MODE)
-                                                print "";
+                                                print " ";
                                 }
                         }
 
                                 }
                         }