bug-bash
[Top][All Lists]
Advanced

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

Re: how to escape single quote?


From: Dennis Williamson
Subject: Re: how to escape single quote?
Date: Wed, 29 Dec 2010 03:41:10 -0600

On Wed, Dec 29, 2010 at 1:28 AM, ali hagigat <address@hidden> wrote:
> I wonder if anybody knows how to escape a single quote character by
> /bin/sh or bash?
> echo 'ppp\'qqq''
> ppp\qqq
> Please look at the above example and the result.
> Regards
>
>

echo "ppp'qqq"

or

echo 'ppp'\''qqq'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]