Computer Hope
Software => BSD, Linux, and Unix => Topic started by: Jkeri on November 16, 2011, 11:22:14 AM
-
Being new to UNIX, i want to combine 2 values into a 3rd value
value1='-a '
files='ls -l'
for i in $files
do
i want $value1 and $i to end up in $value3 so that my value3 has '-a filename'
done
-
What shell/scripting language are you using?
-
(http://i124.photobucket.com/albums/p29/badoit/Joinvars.jpg)