/srv/irclogs.ubuntu.com/2013/03/23/#bzr.txt

=== SamB_ is now known as SamB
=== SamB_ is now known as SamB
=== Logan__ is now known as Logan_
=== yofel_ is now known as yofel
PatrickDickeyHi everyone. I've got a quick question. I've created a script that sets up my bzr branch, and am running into an issue with the whoami command. Since the command is bzr whoami "My Name <myemail>", and I'm passing it a string value in my script, would I need quotes at all? In other words, would I use bzr whoami $name ?20:34
=== SamB_ is now known as SamB
maxbPatrickDickey: You would need quotes to protect the spaces and < > characters from being interpreted as splitting the string into multiple arguments and redirection operators by the shell23:03
PatrickDickeyThank you maxb, would I want to do something like bzr whoami '"' $name '"' then?23:04
maxberm, no23:04
maxbbzr whoami "$name"23:04
maxb(I'm assuming we're talking about Bourne shell here)23:05
* maxb thanks the absent mbp to super-fast hydrazine code review23:06
PatrickDickeymaxb, yes we are. And thank you. I'll put that in. :)23:20

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!