Only lines starting with # are ignored
This commit is contained in:
parent
61eadce513
commit
e4a433886a
4
wlvfs
4
wlvfs
|
@ -57,7 +57,7 @@ fi
|
|||
|
||||
# Preprocessing
|
||||
|
||||
grep -vE '^#|^$|^!' "$subs_file" | while read line; do
|
||||
grep -vE '^#' "$subs_file" | while read line; do
|
||||
channel=$(echo "$line" | awk '{print $1}')
|
||||
last_video=$(echo "$line" | awk '{print $2}')
|
||||
update_date=$(echo "$line" | awk '{print $3}')
|
||||
|
@ -166,7 +166,7 @@ fi
|
|||
rm "$videos_file") &
|
||||
fi
|
||||
|
||||
grep -vE '^#|^$|^!' "$subs_file" | sort -rg -k 6 -k 5 -k 4 | while read line; do
|
||||
grep -vE '^#' "$subs_file" | sort -rg -k 6 -k 5 -k 4 | while read line; do
|
||||
channel=$(echo "$line" | awk '{print $1}')
|
||||
last_video=$(echo "$line" | awk '{print $2}')
|
||||
update_date=$(echo "$line" | awk '{print $3}')
|
||||
|
|
Loading…
Reference in New Issue