lf: fix ods preview
This commit is contained in:
parent
0b1af9275f
commit
4ce58ce0dc
1 changed files with 3 additions and 2 deletions
|
@ -76,8 +76,9 @@ word() {
|
|||
ods() {
|
||||
td=$(mktemp -d)
|
||||
|
||||
libreoffice --headless --convert-to csv "$f" --outdir "$td"
|
||||
csv "${td}/${f%.*}.csv"
|
||||
libreoffice --headless --convert-to csv "$f" --outdir "$td" >/dev/null
|
||||
b=$(basename "$f")
|
||||
csv "${td}/${b%.*}.csv"
|
||||
|
||||
rm -rf "$td"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue