[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 <hagigatali@gmail.com> 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'