Hi Team,
can some one please help me on how to get o/p in shell script
echo "{one, two, three}fish"
so that i need the op as
one fish ,two fish , three fish
shell script help
Re: shell script help
This can be done with a loop: for i in {one,two,three}; do echo -n "$i fish "; done
If you want them on separate lines, remove the -n flag from echo
If you want them on separate lines, remove the -n flag from echo