|
[sri]$ echo "$(<just)"
var=sri
for i in 1 2 3 4 5
do
echo "$var.$i"
done
------------------------------
[sri]$ xargs echo <just
var=sri for i in 1 2 3 4 5 do echo $var.$i done
when i use this command xargs it is giving all line in single line as shown above
so i think it would be better to use first example....
i am woundering that we can use echo in different manner..echo "$(<just)"
Thanks ..jenny...
|