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

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

 



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

--
fedora-docs-list mailing list
fedora-docs-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux