No fit in filename
parent
15b53a639c
commit
bb8b73de98
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
diff -u data/classfd-ids.txt data/spacecruft-fit-ids.txt | \
|
diff -u data/classfd-ids.txt data/spacecruft-ids.txt | \
|
||||||
grep -v -e "+" -e "-" | \
|
grep -v -e "+" -e "-" | \
|
||||||
sed -e 's/ //g' > \
|
sed -e 's/ //g' > \
|
||||||
data/spacecruft-classfd-ids.txt
|
data/spacecruft-classfd-ids.txt
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
diff -u data/classfd-ids.txt data/spacecruft-fit-ids.txt | \
|
diff -u data/classfd-ids.txt data/spacecruft-ids.txt | \
|
||||||
grep -e "^-" | \
|
grep -e "^-" | \
|
||||||
sed -e 's/-//g' > \
|
sed -e 's/-//g' > \
|
||||||
data/spacecruft-classfd-missing-ids.txt
|
data/spacecruft-classfd-missing-ids.txt
|
||||||
|
|
|
@ -6,5 +6,5 @@ mkdir -p "${DATADIR}"
|
||||||
|
|
||||||
cd "${DATADIR}"
|
cd "${DATADIR}"
|
||||||
|
|
||||||
wget -O spacecruft-fit-sats.html "https://spacecruft.fit/sats/"
|
wget -O spacecruft-sats.html "https://spacecruft.fit/sats/"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
grep 'folder.gif' data/spacecruft-fit-sats.html | \
|
grep 'folder.gif' data/spacecruft-sats.html | \
|
||||||
cut -f 7 -d ">" | \
|
cut -f 7 -d ">" | \
|
||||||
cut -f 1 -d "/" > \
|
cut -f 1 -d "/" > \
|
||||||
data/spacecruft-fit-ids.txt
|
data/spacecruft-ids.txt
|
||||||
|
|
||||||
cat data/spacecruft-fit-ids.txt
|
cat data/spacecruft-ids.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue