public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Shell 'touch' command fails if touched file doesn't already exist
@ 2017-05-12 21:43 Jeff Westfahl
  2017-05-14 22:13 ` Carsey, Jaben
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Westfahl @ 2017-05-12 21:43 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ruiyu Ni, Jaben Carsey

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.

Regards,
Jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Shell 'touch' command fails if touched file doesn't already exist
  2017-05-12 21:43 Shell 'touch' command fails if touched file doesn't already exist Jeff Westfahl
@ 2017-05-14 22:13 ` Carsey, Jaben
  0 siblings, 0 replies; 2+ messages in thread
From: Carsey, Jaben @ 2017-05-14 22:13 UTC (permalink / raw)
  To: Jeff Westfahl, edk2-devel@lists.01.org; +Cc: Ni, Ruiyu

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 see 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 <ruiyu.ni@intel.com>; Carsey, Jaben <jaben.carsey@intel.com>
> Subject: Shell 'touch' command fails if touched file doesn't already exist
> Importance: High
> 
> 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.
> 
> Regards,
> Jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-14 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12 21:43 Shell 'touch' command fails if touched file doesn't already exist Jeff Westfahl
2017-05-14 22:13 ` Carsey, Jaben

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox