batcherr:
curl was yum updated: curl -V = curl 7.15.5
drysdalk
The script has been run with the "-x" option - result:
The "curl: (6) Couldn't resolve host 'application'" error remains when coming from [a] script whether executed or sourced.
The command continues complete with a "Created" success message when copied and pasted to the command-line.
Keeping in mind that I'm relatively comfortable with programming in general but very new to unix and korn/bourne shell scripts..
I'm using awk on a CSV file, and then performing calculations and operations on specific fields within specific records. The CSV file I'm working with has about 600... (2 Replies)
Hi there, I'm pretty new to scripting and wondering if anyone had any idea's, scripts or snippets on how I can do the following.
I basically want a shell script that will look at all the files in a directory and find all the names and addresses in them then output them to the screen nicely... (12 Replies)
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
I have an alias already in my .bash_profile to download files using cUrl's -o (output to file, user provides the file name) option. I find I'm using it quite a bit, so I wanted to write a script to run "curl -o", taking the necessary inputs - file name and URL from which to download - and then... (3 Replies)
Hi all, I now have project in UNIX Solaris and I want to have some new ideas to execute it, so I hope you help me finding new ideas in scripting or some infrastructure .bye (1 Reply)
Hello,
I have a very old hp rp2450 running 11i2 that I had to power off. When turning it back on it hangs with the following message. Would booting into SUM get me any further? I've never used SUM, so I'm asking before I go down that rabbit hole.
Thanks for the help.
#
## extra content... (1 Reply)
Hello Experts ,
I have an use case which needed your help . I have been using google for 2 days buy couldn`t succed , i believe i can get the help here.
Here is my use case to run on bash shell
1. Access an URL -- in script , it will be mentioned as inputURL
2. Once i accessed the URL... (1 Reply)
Hello Experts ,
I have an use case which needed your help . I have been using google for 2 days buy couldn`t succed , i believe i can get the help here.
Here is my use case to run on bash shell
1. Access an URL -- in script , it will be mentioned as inputURL
2. Once i accessed the URL... (5 Replies)
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
LEARN ABOUT OSX
curl-config
curl-config(1) curl-config manual curl-config(1)NAME
curl-config - Get information about a libcurl installation
SYNOPSIS
curl-config [options]
DESCRIPTION
curl-config displays information about the curl and libcurl installation.
OPTIONS --ca Displays the built-in path to the CA cert bundle this libcurl uses.
--cc Displays the compiler used to build libcurl.
--cflags
Set of compiler options (CFLAGS) to use when compiling files that use libcurl. Currently that is only the include path to the curl
include files.
--checkfor [version]
Specify the oldest possible libcurl version string you want, and this script will return 0 if the current installation is new enough
or it returns 1 and outputs a text saying that the current version is not new enough. (Added in 7.15.4)
--configure
Displays the arguments given to configure when building curl.
--feature
Lists what particular main features the installed libcurl was built with. At the time of writing, this list may include SSL, KRB4 or
IPv6. Do not assume any particular order. The keywords will be separated by newlines. There may be none, one, or several keywords in
the list.
--help Displays the available options.
--libs Shows the complete set of libs and other linker options you will need in order to link your application with libcurl.
--prefix
This is the prefix used when libcurl was installed. Libcurl is then installed in $prefix/lib and its header files are installed in
$prefix/include and so on. The prefix is set with "configure --prefix".
--protocols
Lists what particular protocols the installed libcurl was built to support. At the time of writing, this list may include HTTP,
HTTPS, FTP, FTPS, FILE, TELNET, LDAP, DICT. Do not assume any particular order. The protocols will be listed using uppercase and are
separated by newlines. There may be none, one, or several protocols in the list. (Added in 7.13.0)
--static-libs
Shows the complete set of libs and other linker options you will need in order to link your application with libcurl statically.
(Added in 7.17.1)
--version
Outputs version information about the installed libcurl.
--vernum
Outputs version information about the installed libcurl, in numerical mode. This outputs the version number, in hexadecimal, with 8
bits for each part; major, minor, patch. So that libcurl 7.7.4 would appear as 070704 and libcurl 12.13.14 would appear as 0c0d0e...
Note that the initial zero might be omitted. (This option was broken in the 7.15.0 release.)
EXAMPLES
What linker options do I need when I link with libcurl?
$ curl-config --libs
What compiler options do I need when I compile using libcurl functions?
$ curl-config --cflags
How do I know if libcurl was built with SSL support?
$ curl-config --feature | grep SSL
What's the installed libcurl version?
$ curl-config --version
How do I build a single file with a one-line command?
$ `curl-config --cc --cflags` -o example example.c `curl-config --libs`
SEE ALSO curl(1)Curl 7.17.1 25 Oct 2007 curl-config(1)