bobadeleter ; adding quotes to archives names

This commit is contained in:
Djan 2021-10-07 12:57:36 +02:00
parent b65297c8fa
commit 5922c491a4

View File

@ -327,6 +327,8 @@ function bobadeleter {
$EDITOR $file $EDITOR $file
sed -i '/^#/d' $file #remove lines without "#" sed -i '/^#/d' $file #remove lines without "#"
sed -i 's/^/"/' $file # add quotes in the beginnning of lines
sed -i 's/$/"/' $file # add quotes ine the end of lines
paste -s -d " " $file > file_temp paste -s -d " " $file > file_temp
rm $file;mv file_temp $file rm $file;mv file_temp $file