8 lines
387 B
Python
8 lines
387 B
Python
|
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
|