bobadeleter ; adding quotes to archives names
This commit is contained in:
parent
b65297c8fa
commit
5922c491a4
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user