From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3208F21AF0335 for ; Sun, 14 May 2017 15:13:09 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 14 May 2017 15:13:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,341,1491289200"; d="scan'208";a="86689176" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 14 May 2017 15:13:08 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 14 May 2017 15:13:08 -0700 Received: from fmsmsx103.amr.corp.intel.com ([169.254.2.204]) by FMSMSX157.amr.corp.intel.com ([169.254.14.30]) with mapi id 14.03.0319.002; Sun, 14 May 2017 15:13:08 -0700 From: "Carsey, Jaben" To: Jeff Westfahl , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" Thread-Topic: Shell 'touch' command fails if touched file doesn't already exist Thread-Index: AQHSy2jUPyyVL1eQFEOCQNNQxedFIKH0Z3dg Date: Sun, 14 May 2017 22:13:07 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Subject: Re: Shell 'touch' command fails if touched file doesn't already exist X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2017 22:13:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I think that since the UEFI Shell Spec does not mention creating new files = and no one has mentioned it before, we just didn't think of it. I don't se= e that it would violate the spec; I would welcome such a enhancement. -Jaben > -----Original Message----- > From: Jeff Westfahl [mailto:jeff.westfahl@ni.com] > Sent: Friday, May 12, 2017 2:44 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: Shell 'touch' command fails if touched file doesn't already exis= t > Importance: High >=20 > I see that the shell 'touch' command doesn't create the specified file if= it doesn't > already exist. Is this by design? My experience with the 'touch' command = in > other operating environments leads me to expect it to create the file if = it doesn't > already exist. >=20 > Regards, > Jeff