I have a bash script with a line :
for i in $(svn diff --summarize $REPO$OLD $REPO$NEW |awk '{print $0}');
do
print $i
which outputs :
A
https://domainname.com/projectxyz/uploads/Screen
shot
2012-05-08
at
1.57.50
PM.png
What I need is string in single line sth like this :
"Ahttps://domainname.com/projectxyz/uploads/Screen shot 2012-05-08 at 1.57.50 PM.png"
NOTE: using MAC OS
Try putting quotes around your subshell like so:
EDIT:
Can you try this method: