From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"quic_rcran@quicinc.com" <quic_rcran@quicinc.com>,
"Ni, Ray" <ray.ni@intel.com>
Cc: Rebecca Cran <rebecca@quicinc.com>
Subject: Re: [edk2-devel] [PATCH 1/1] ShellPkg: Improve "ping" output by adding equals sign after time
Date: Tue, 6 Dec 2022 02:17:12 +0000 [thread overview]
Message-ID: <PH7PR11MB63779B91B56FF97DA2349464F61B9@PH7PR11MB6377.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221201214935.67205-1-rebecca@quicinc.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Thanks,
Zhichao
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Rebecca
> Cran
> Sent: Friday, December 2, 2022 5:50 AM
> To: devel@edk2.groups.io; Ni, Ray <ray.ni@intel.com>; Gao, Zhichao
> <zhichao.gao@intel.com>
> Cc: Rebecca Cran <rebecca@quicinc.com>
> Subject: [edk2-devel] [PATCH 1/1] ShellPkg: Improve "ping" output by adding
> equals sign after time
>
> The output of the "ping" command shows the time without a space between
> the label and the value. e.g.:
>
> 20 bytes from 192.168.0.1 : icmp_seq=1 ttl=1 time1~2ms
>
> Improve the readability and consistency by adding an equals sign for the time
> value:
>
> 20 bytes from 192.168.0.1 : icmp_seq=1 ttl=1 time=1~2ms
>
> Signed-off-by: Rebecca Cran <rebecca@quicinc.com>
> ---
>
> ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Comm
> andsLib.uni | 2 +-
> ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Comm
> andsLib.uni | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
> a/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Com
> mandsLib.uni
> b/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Com
> mandsLib.uni
> index 73cf96d9e614..37fd4a11929c 100644
> ---
> a/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Com
> mandsLib.uni
> +++
> b/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Com
> +++ mandsLib.uni
> @@ -52,7 +52,7 @@
> #string STR_PING_NOROUTE_FOUND #language en-US "There is no
> route to the destination '%B%s%N' from the source '%B%s%N' was
> found.\r\n"
> #string STR_PING_START #language en-US "Ping %s %d data
> bytes.\r\n"
> #string STR_PING_TIMEOUT #language en-US "Echo request
> sequence %d timeout.\r\n"
> -#string STR_PING_REPLY_INFO #language en-US "%d bytes from %s :
> icmp_seq=%d ttl=%d time%d~%dms\r\n"
> +#string STR_PING_REPLY_INFO #language en-US "%d bytes from %s :
> icmp_seq=%d ttl=%d time=%d~%dms\r\n"
> #string STR_PING_STAT #language en-US "\n%d packets
> transmitted, %d received, %d%% packet loss, time %dms\r\n"
> #string STR_PING_RTT #language en-US "\nRtt(round trip time)
> min=%d~%dms max=%d~%dms avg=%d~%dms\r\n"
>
> diff --git
> a/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> index 30913ae5b583..cb9d39a33fbe 100644
> ---
> a/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> mandsLib.uni
> +++
> b/ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2Com
> +++ mandsLib.uni
> @@ -33,7 +33,7 @@
> #string STR_PING6_NOSOURCE_INDOMAIN #language en-US "No
> sources in %s's multicast domain.\r\n"
> #string STR_PING6_START #language en-US "Ping %s %d data
> bytes\r\n"
> #string STR_PING6_TIMEOUT #language en-US "Echo request
> sequence %d timeout.\r\n"
> -#string STR_PING6_REPLY_INFO #language en-US "%d bytes
> from %s : icmp_seq=%d ttl=%d time%d~%dms\r\n"
> +#string STR_PING6_REPLY_INFO #language en-US "%d bytes
> from %s : icmp_seq=%d ttl=%d time=%d~%dms\r\n"
> #string STR_PING6_STAT #language en-US "\n%d packets
> transmitted, %d received, %d%% packet loss, time %dms\r\n"
> #string STR_PING6_RTT #language en-US "\nRtt(round trip time)
> min=%d~%dms max=%d~%dms avg=%d~%dms\r\n"
>
> --
> 2.30.2
>
>
>
>
>
next prev parent reply other threads:[~2022-12-06 2:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 21:49 [PATCH 1/1] ShellPkg: Improve "ping" output by adding equals sign after time Rebecca Cran
2022-12-06 2:17 ` Gao, Zhichao [this message]
2023-02-21 0:45 ` [edk2-devel] " Rebecca Cran
2023-02-21 13:58 ` Gao, Zhichao
2023-02-21 14:39 ` Ard Biesheuvel
2023-02-21 19:02 ` Michael D Kinney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PH7PR11MB63779B91B56FF97DA2349464F61B9@PH7PR11MB6377.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox