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

Re: audacity export wma format[1 more question]



On Thu, 2013-10-24 at 14:19 +0200, Ralf Mardorf wrote:
> On Thu, 2013-10-24 at 23:04 +1100, Scott Ferguson wrote:
> > "su -c" isn't too difficult for many, and if the extra keystrokes are a
> > problem:-
> > $ echo "alias s='su -c"'" >> ~/.bash_aliases;. .bash rc
> > then you can use "s" instead of "sudo" (or alias sudo='su -c"') if you
> > don't have sudo installed.
> 
> su -c becomes inconvenient if an option of a command needs quotation
> marks, the alias isn't helpful then.
> 
> su -c "command --option "that needs quotation marks""
> 
> Sure, it's not hard to correct this line, so that it will work, but it's
> not that handy as
> 
> sudo command --option "that needs quotation marks"

A wrapper script could do the job and automagically handle the quotation
mark annoyance.


Reply to: