Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1A4011E7E for ; Fri, 16 May 2014 23:27:25 +0000 (UTC) Received: (qmail 62327 invoked by uid 500); 16 May 2014 16:08:23 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 45217 invoked by uid 500); 16 May 2014 15:43:25 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 78535 invoked by uid 99); 16 May 2014 15:39:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 15:39:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mshi@gopivotal.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2014 15:39:48 +0000 Received: by mail-ie0-f175.google.com with SMTP id y20so2662308ier.20 for ; Fri, 16 May 2014 08:39:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=2Xs0ZBoWd0j81vVecDz5zbza/j37FbpXclW/lwHZqnI=; b=CYkGelm1oNaWYPXbjrIoMOdRlaVFuJv9EGlh0EAv9wCnxmmIl6sZle4z3GbYQyoNOp IQ/hJlyhO+tIhuyuY+WygTTbBoDclfbLAStQkoZtPGo575iNUrABedny5NVG/xO7dLDR s8O3aFGOuALUI4LK84z2LyUHRbsp3AypHTqesT1kiy4qRJ7eyYxZgDKxcsKA5VOsV5xp ty+XtqO6fzJAW5jWiQVH3+edkdH/YhV6wugm2n2nEjGfpY1SFJ9SHCULcO1M/VpdEEfZ UrLTMRKMKurFthliPrIdBnAOiAiKLVS80J84ns2wMOjJWBTFp84KAvkkDUIybjDFludq eWvw== X-Gm-Message-State: ALoCoQnOo1xBGKlam4HEnueHr6Ue84T2FcvNXSVxb3GW8BLNN5MQsHiVFUmXrYmDboVZpa2oEGVR X-Received: by 10.43.57.203 with SMTP id wh11mr10254937icb.68.1400254767836; Fri, 16 May 2014 08:39:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.227.111 with HTTP; Fri, 16 May 2014 08:39:07 -0700 (PDT) In-Reply-To: <334A4269E98E408B80E1DF82F46AABAB@P200304006390> References: <334A4269E98E408B80E1DF82F46AABAB@P200304006390> From: Mingjiang Shi Date: Fri, 16 May 2014 23:39:07 +0800 Message-ID: Subject: Re: error about import data from Hadoop To: user Content-Type: multipart/alternative; boundary=bcaec51a8afa085e9e04f9863883 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51a8afa085e9e04f9863883 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, May 8, 2014 at 9:08 AM, EdwardKing wrote: > if [$1=3D'172.11.12.6"] then =E2=80=8Bshould be if [ $1 =3D "172.11.12.6" ] then ... Note the spaces after the '[' and before the ']'=E2=80=8B, and the quotes w= ere not matched. --=20 Cheers -MJ --bcaec51a8afa085e9e04f9863883 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Thu, May 8, 2014 at 9:08 AM, EdwardKing <zhangsc@neusoft.com><= /span> wrote:
if [$= 1=3D'172.11.12.6"]=20 then

=E2=80=8Bshould be if [ $1 =3D "172.11.12.6" ] then=
...
Not= e the spaces after the '[' and before the ']'=E2=80=8B, and= the quotes were not matched.



--
Cheers
-MJ
--bcaec51a8afa085e9e04f9863883--