You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
358 B
11 lines
358 B
#!/bin/bash
|
|
|
|
Instring="$@"
|
|
ID=$(echo "${Instring}" | awk '{print $1}')
|
|
#Command=$(echo "$Instring" | sed 's/ (/./g' | sed 's/)//g' | sed 's/:man:/:man -Pcat:/g' | awk -F ':' '{print $2 " " $1}')
|
|
# install unhtml from pacakage manager
|
|
if [ -f $(which unhtml) ];then
|
|
calibredb show_metadata "${ID}" | unhtml
|
|
else
|
|
calibredb show_metadata "${ID}"
|
|
fi
|
|
|