05-04-2012
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
2. Emergency UNIX and Linux Support
Hi all,
I've created some logical volumes on a non-production server. I was supposed to make the new LV's similar to another LV already on the server. Supposed to be the similar to lvol5
I did everything right except one thing as somebody mentioned. I would like to figure out what I did... (6 Replies)
Discussion started by: zixzix01
6 Replies
3. HP-UX
Hello experts!
Can someone help me to configure sendmail v8.9.3 in HP-UX 10.2?
I would like to be able to send messages using an external SMTP server. I have configured the DNS - I can ping my smtp server.
I dont know how to configure sendmail.
In my system there is no file "sendmail.mc"...... (12 Replies)
Discussion started by: wojciech
12 Replies
4. Shell Programming and Scripting
sed -e 's/console/raw/g'
this command will replace the letter pradeep with rawat
what if i want to replace a word like FRIENDS with a space simultaneously from the same file i m replacing pradeep. im doing this
sed -e 's/console/raw/g' && sed 's/FRIENDS//g'
but i dono why this is not happening. (2 Replies)
Discussion started by: console
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I need my script to run at 7:30, 7:40, 7:50 & 8:00 AM.
Defined like:
30,40,50 7,8 * * * sh myscript.sh
But this runs even at 8:30, 8:40, 8:50 - which I don't need..
Please advise. (4 Replies)
Discussion started by: ashokvpp
4 Replies
6. UNIX for Dummies Questions & Answers
I have a script which uses awk to read from a file seperated with commas, although saved as a .conf file.
awk -F, '{print $3}'
it is meant to pick up "a label here" (for example)
But instead return "a"
Problem is that although the command does recognise the comma seperation it still... (1 Reply)
Discussion started by: Pedro72
1 Replies
7. Shell Programming and Scripting
Please help me guys with this, its my first time using expect.
heres what i wanted to do. inputs are in red
sitescope@server:/opt/HP/SiteScope/bin> ./config_tool.sh -i console
This wizard enables you you to change the ports assigned to SiteScope,
move configuration data from one SiteScope... (0 Replies)
Discussion started by: ryandegreat25
0 Replies
8. Shell Programming and Scripting
I have below code, I am checking on one server where ppp.sh process not running it is perfectly fine, when i am checking the same script on another server where ppp.sh script is running, it is throwing error "too many arguments", how to avoid this. If i will check on server where process running it... (5 Replies)
Discussion started by: learnbash
5 Replies
LEARN ABOUT DEBIAN
ns_skipurl
Ns_Url(3aolserver) AOLserver Library Procedures Ns_Url(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_AbsoluteUrl, Ns_ParseUrl, Ns_RelativeUrl, Ns_SkipUrl - URL manipulation routines
SYNOPSIS
#include "ns.h"
int
Ns_AbsoluteUrl(Ns_DString *pds, char *url, char *baseurl)
int
Ns_ParseUrl(char *url, char **pprotocol, char **phost,
char **pport, char **ppath, char **ptail)
char *
Ns_RelativeUrl(char *url, char *location)
char *
Ns_SkipUrl(Ns_Request *request, int n)
_________________________________________________________________
DESCRIPTION
Ns_AbsoluteUrl(pds, url, baseurl)
Construct an URL based on baseurl but with as many parts of the incomplete url as possible. Return NS_OK or NS_ERROR.
Ns_ParseUrl(url, pprotocol, phost, pport, ppath, ptail)
Parse a URL into its component parts. Pointers to the protocol, host, port, path, and "tail" (last path element) will be set by ref-
erence in the passed-in pointers. The passed-in url will be modified.
Ns_RelativeUrl(url, location)
If the url passed in is for this server, then the initial part of the URL is stripped off. e.g., on a server whose location is
http://www.foo.com, Ns_RelativeUrl of "http://www.foo.com/hello" will return "/hello". Returns a pointer to the beginning of the
relative url in the passed-in url, or NULL if error. Will set errno on error.
Ns_SkipUrl(request, n)
Return a pointer n elements into the request's url.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 Ns_Url(3aolserver)