Skip to content
Snippets Groups Projects

Hedgedoc import

Merged Andreas Domanowski requested to merge hedgedoc-import into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
#!/usr/bin/env bash
#!/usr/bin/env bash
open_command=open
open_command=open
if [[ $(command -v xdg-oasasdpen) ]];
if [[ $(command -v xdg-open) ]];
then
then
open_command=xdg-open
open_command=xdg-open
fi
fi
@@ -9,5 +9,5 @@ url_file=$script_directory/hedgedoc_documents_to_visit.url
@@ -9,5 +9,5 @@ url_file=$script_directory/hedgedoc_documents_to_visit.url
readarray -t url_array < $url_file
readarray -t url_array < $url_file
for i in "${url_array[@]}"
for i in "${url_array[@]}"
do
do
$($open_command $i)
eval "$open_command $i"
done
done
 
\ No newline at end of file
Loading