periods escaped

This commit is contained in:
Luke Smith 2018-09-03 10:18:01 -04:00
parent fe0ff958cf
commit fb1a0630ed
1 changed files with 1 additions and 1 deletions

2
lb
View File

@ -32,7 +32,7 @@ listandReturn() { \
getTitle() { \
echo "Post will be stored as draft in $draftdir until finalized."
read -rp "Give a title for your post: " title
url=$(echo $title | sed -e "s/'\|\"\|=\|+\|_\|,\|:\|;\|?\|!\|@\|\*\|&\|(\|)\|[\|]\|<\|>//g;s/ /-/g" | tr '[:upper:]' '[:lower:]') ;}
url=$(echo $title | sed -e "s/'\|\"\|=\|+\|_\|,\|\.\|:\|;\|?\|!\|@\|\*\|&\|(\|)\|[\|]\|<\|>//g;s/ /-/g" | tr '[:upper:]' '[:lower:]') ;}
postNew() { \
mkdir -p "$draftdir"