Skip to content
Snippets Groups Projects
Commit a7dc4599 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

split curl and libcurl into two strings in the initial display

parent 583c2e2f
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment