mirror of
https://github.com/curl/curl.git
synced 2026-05-03 05:07:52 +03:00
split curl and libcurl into two strings in the initial display
This commit is contained in:
parent
583c2e2f09
commit
a7dc45997f
1 changed files with 9 additions and 1 deletions
|
|
@ -372,11 +372,19 @@ sub displaydata {
|
|||
unlink($memdump); # remove this if there was one left
|
||||
|
||||
my $version=`$CURL -V`;
|
||||
chomp $version;
|
||||
|
||||
my $curl = $version;
|
||||
|
||||
$curl =~ s/^(.*)(libcurl.*)/$1/g;
|
||||
my $libcurl = $2;
|
||||
|
||||
my $hostname=`hostname`;
|
||||
my $hosttype=`uname -a`;
|
||||
|
||||
print "********* System characteristics ******** \n",
|
||||
"* $version",
|
||||
"* $curl\n",
|
||||
"* $libcurl\n",
|
||||
"* Host: $hostname",
|
||||
"* System: $hosttype";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue