public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [UEFI_Shell_Specification_2.2]the fs-dirs define may be not accurate.
@ 2018-06-14  9:34 krishnaLee
  0 siblings, 0 replies; only message in thread
From: krishnaLee @ 2018-06-14  9:34 UTC (permalink / raw)
  To: edk2-devel

Hi,
  Recently,I want to exactly know what is filepath/filename,I come across this specification,
Follow information come from UEFI_Shell_2.2.pdf,


3.7 File Names
fs-path      := [fs-map-name] [fs-divider][fs-dirs][fs-name]
fs-map-name  := identifier :
fs-divider        := \ | /
fs-dirs             := fs-dir | 
                         fs-dirs fs-dir
fs-dir             := fs-name fs-divider
fs-name       := fs-file-name .fs-file-ext
fs-file-name := one or more ASCII characters, excluding * ? < > \ / &#65533;&#65533; : )


#I want to say follow  example is a fs-dirs,relatively;
fo\foo\       


#but follow example is also a fs-dirs,absolutely;
FS0:\fo\foo\


#so the define should be:
fs-dirs-absolute     := fs-map-name fs-divider | fs-map-name fs-divider fs-dirs-relative
fs-dirs-relative       := fs-dir | 
                                  fs-dirs-relative fs-dir
fs-dir                      := fs-name fs-divider


#is that right?


thanks
by krishna

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-14  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14  9:34 [UEFI_Shell_Specification_2.2]the fs-dirs define may be not accurate krishnaLee

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