Browse Source

output formatted. range extended

master
Sam Hunter 3 months ago
parent
commit
cf0e12c49d
  1. 7
      newgit

7
newgit

@ -12,9 +12,12 @@ lynx -dump https://git.rawtext.club/explore/repos \
if ($1 ~/\[[0-9].*\]/) {
l=$0;
gsub(/^[^\]].*\]/,"",l);
gsub(/ /,"",l);
split(l,la, /\//);
l = sprintf("%-20s\t%s",la[2],la[1])
next;
}
if($0 ~/Updated.*(seconds|minutes|hours)/) {
printf("%-30s %-20s\n", $0,l);l="";
if($0 ~/Updated.*(seconds|minute|hour|day)/) {
printf("%-30s %s\n", $0,l);l="";
}
}'

Loading…
Cancel
Save