Browse Source

oops, the comment isn't a comment when it's embedded in a string...

main
John-Mark Gurney 4 years ago
parent
commit
a2ab800c04
Signed by: jmg GPG Key ID: 205F0B33DD006ADA
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      snapaid.sh

+ 1
- 1
snapaid.sh View File

@@ -327,7 +327,7 @@ elif [ x"$1" = x"find" ]; then
awk ' awk '
BEGIN { BEGIN {
# xzcat snapshot.complete.idx.xz | ./maxcol.awk # xzcat snapshot.complete.idx.xz | ./maxcol.awk
# xzcat snapshot.complete.idx.xz | awk '{ print $3}' | sort -u
# xzcat snapshot.complete.idx.xz | awk "{ print $3}" | sort -u
# note that for powerpc-* that first part is dropped # note that for powerpc-* that first part is dropped
fmtstr = "%2s %-3s %-15s %-14s %-18s %-8s %-11s\n" fmtstr = "%2s %-3s %-15s %-14s %-18s %-8s %-11s\n"
printf(fmtstr, "#", "TYP", "RELEASE", "ARCH", "PLATFORM/TYPE", "DATE", "REV") printf(fmtstr, "#", "TYP", "RELEASE", "ARCH", "PLATFORM/TYPE", "DATE", "REV")


Loading…
Cancel
Save