Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ionen-angewandte-physik
AG-Wester
bibtools
Commits
8c5101bf
Commit
8c5101bf
authored
Feb 12, 2020
by
User expired
Browse files
bib-txt: Make sure to delete temporary directory
parent
cb380548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
bin/bib-txt
bin/bib-txt
+1
-3
No files found.
bin/bib-txt
View file @
8c5101bf
...
...
@@ -63,6 +63,7 @@ fi
TMPDIR
=
$(
mktemp
-d
)
trap
"rm -rf
$TMPDIR
"
EXIT
# Function to remove latex macros such as \v{Z}.
# It treats nesting of curly braces up to third order.
...
...
@@ -194,6 +195,3 @@ do
# Print citation.
eval echo
-e
"
\"
$FMTSTR
\"
"
|
sed
's/ */ /g;s/, ,/,/g;s/, (/ (/g'
done
# Remove temporary directory.
rm
-rf
"
$TMPDIR
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment