8 lines
175 B
Text
8 lines
175 B
Text
|
#!/bin/sh
|
||
|
|
||
|
for sheet in $(in2csv --names "$1")
|
||
|
do
|
||
|
basename=$(echo $1 | sed -e 's/\.[^\.]\+$//')
|
||
|
in2csv --sheet "$sheet" "$1" | csvformat -D \; > "$basename-$sheet.csv"
|
||
|
done
|