[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: quote order (was [Fwd: [Fedora Project Wiki] Update of "Docs/Drafts/AdministrationGuide/UserAccounts" by VladimirKosovac])



Karsten Wade wrote:
The correction below brings up a small thing we can be consistent about,
but first we can decide how we prefer it.

So let's vote!  (+1 for your preference)

su -c 'command -c "quoted text" foo'
su -c "command -c 'quoted text' foo"

In other words:

" '' "

... or...
' "" '

;-) Karsten

-------- Forwarded Message --------
{{{
- su -c "/usr/sbin/useradd -c "Luke McAlister" -g primary -G additional,another -d /home/second -s /bin/tcsh luke2"
+ su -c "/usr/sbin/useradd -c 'Luke McAlister' -g primary -G additional,another -d /home/second -s /bin/tcsh luke2"
  }}}
{{{
- su -c "/usr/sbin/usermod -c "Luke McAlister" luke"
+ su -c "/usr/sbin/usermod -c 'Luke McAlister' luke"
  }}


I vote for " ' ' "

   -Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]