gcmd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-usr] Passing multiple file pathes to shell scripts


From: mi
Subject: Re: [gcmd-usr] Passing multiple file pathes to shell scripts
Date: Sat, 9 Jul 2022 04:34:22 +0200

Sry, i forgot to quote a string in this line,

 echo -e $files | grep -vx "" | while read file; do

It still works for one whitespace a time (that's why i didn't notice), but for 
a filename with a string of several whitespaces we need:  echo -e "$files"

hth






reply via email to

[Prev in Thread] Current Thread [Next in Thread]