factorio-recipe-analyzer/fra.py

8 lines
387 B
Python
Raw Normal View History

2023-08-24 17:34:51 +02:00
mv ~/.factorio/script-output/products-all.csv ./mod-recipes
cat ./mod-recipes/recipes-all.csv | sort -k3 -t, | column --table -s, -o, > ./mod-recipes/recipes-all-sorted-subgroups.csv
cat ./mod-recipes/products-all.csv | sort -k2 -t, | column --table -s, -o, > ./mod-recipes/recipes-all-sorted-product.csv
cp ./mod-recipes/recipes-all-sorted-product.csv ./mod-recipes/intermediate.csv