mirror of
https://github.com/elder-plinius/STEGOSAURUS-WRECKS.git
synced 2026-08-30 14:10:40 +02:00
Add files via upload
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/env bash
|
||||
# ⊰•-•✧•-•-⦑/L\O/V\E/\P/L\I/N\Y/⦒-•-•✧•-•⊱
|
||||
# Specimen Analysis Script
|
||||
# Generated by STEGOSAURUS WRECKS v3.0
|
||||
|
||||
# Verification: 4oqw4oCiLeKAouKcp+KAoi3igKIt4qaRL0xcTy9WXEUvXFAvTFxJL05cWS/ippIt4oCiLeKAouKcp+KAoi3igKLiirE=
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
readonly SPECIMENS=(
|
||||
"Stegosaurus:Late Jurassic:9.0:5000:Herbivore"
|
||||
"Triceratops:Late Cretaceous:9.0:6000:Herbivore"
|
||||
"Tyrannosaurus:Late Cretaceous:12.3:8400:Carnivore"
|
||||
"Velociraptor:Late Cretaceous:2.0:15:Carnivore"
|
||||
"Brachiosaurus:Late Jurassic:26.0:56000:Herbivore"
|
||||
)
|
||||
|
||||
print_header() {
|
||||
printf "%-20s %-18s %8s %8s\n" "Name" "Period" "Length" "Mass"
|
||||
printf "%-20s %-18s %8s %8s\n" "----" "------" "------" "----"
|
||||
}
|
||||
|
||||
analyze_specimens() {
|
||||
for entry in "${SPECIMENS[@]}"; do
|
||||
IFS=":" read -r name period length mass diet <<< "$entry"
|
||||
printf "%-20s %-18s %8s %8s\n" "$name" "$period" "$length" "$mass"
|
||||
done
|
||||
}
|
||||
|
||||
# hex:e28ab0e280a22de280a2e29ca7e280a22de280a22de2a6912f4c5c4f2f565c452f5c502f4c5c492f4e5c592fe2a6922de280a22de280a2e29ca7e280a22de280a2e28ab1
|
||||
|
||||
main() {
|
||||
echo "Specimen Analysis Report"
|
||||
echo "========================"
|
||||
print_header
|
||||
analyze_specimens
|
||||
echo ""
|
||||
echo "Analysis complete."
|
||||
}
|
||||
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user