Search Results

Search: Posts Made By: drnkhmlck
8,761
Posted By drnkhmlck
$FILES is created in this loop: while read...
$FILES is created in this loop:

while read line; do
FILES+="${line/ /\ }"
done

So when I input the files: Photo 119.jpg and Photo 136.jpg

echo $FILES
Photo\ 119.jpg Photo\ 136.jpg
...
8,761
Posted By drnkhmlck
Running a String as a command, zsh.
I have a shell script that is building a string that consists of the parts of a command that I want run at the end of the string. So it looks like this:

$PART1=/path/to/command
$PART2="-arg1"...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy