mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
split curl and libcurl into two strings in the initial display
This commit is contained in:
parent
583c2e2f09
commit
a7dc45997f
@ -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…
Reference in New Issue
Block a user