aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfetch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch.sh b/fetch.sh
index fa1bb70..d509fc7 100755
--- a/fetch.sh
+++ b/fetch.sh
@@ -21,9 +21,9 @@ if [ "$1" ]; then
i=1
max=$(( $(wc -l "$file" | sed 's/ .*//g') ))
while :; do
- printf -- "insert into ytlist values('%s','%s','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2"
+ printf -- "insert into ytlist values('%s','%s','','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2"
printf "\n"
- printf -- "insert into ytlist values('%s','%s','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" | sqlite3 ./youtube_stuffs.db
+ printf -- "insert into ytlist values('%s','%s','','')" "$(head -n $i $file | tail -n 1 | sed "s/'/''/g" | sed "s/----/','/g" )" "$2" | sqlite3 ./youtube_stuffs.db
printf "insert: %s\n" "$i"
i=$((i+1))
if [ $i -gt $max ]; then