Browse Source

Limit hexdump output

Alois Mahdal 9 years ago
parent
commit
333bde5c54
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      libexec/saturnin-clip

+ 1
- 1
libexec/saturnin-clip View File

@@ -50,7 +50,7 @@ lsclips() {
50 50
                     hint=$(head -c 80 $name | tr '\n' '↵')
51 51
                     ;;
52 52
                 *)
53
-                    hint=$(head -c 16 $name | hexdump -C)
53
+                    hint=$(head -c 16 $name | hexdump -C | head -1)
54 54
                     ;;
55 55
             esac
56 56
             echos "$(basename $name) || $ft || $hint"