My requirement is to replace a a particular pattren in a script from A to B.
I am not sure if this can be done through sed command or through awk .
The file sv.inc is
window DialogBox AddConnection
tag "~ActiveApp/Add Connection - Provider Type?URL"
I would wnat the file to be... (10 Replies)
Hello experts,
I have a file containing the following text(shortened here).
File Begin
----------
< # Billboard.d3fc1302a677.imagePath=S:\\efcm_T4
< Billboard.d3fc1302a677.imagePath=S:\\efcm_T4
---
> # Billboard.d3fc1302a677.imagePath=S:\\efcm_Cassini
>... (2 Replies)
Hi experts,
I have many occurances of the following headers in a file. I need to grep for the word changed/inserted in the header, calculate the difference between the two numbers and list the count incrementally.
Headers in a file look like this:
-------------------
---------------------... (6 Replies)
I am doing a file patterhn matching for a text file in PERL
I am using this,,, but it says that no file is found
$filepattern = '\d{1,4}.*A0NW9693.NDM.HBIDT.*.AD34XADJ.txt';
Can anyone help me out with Perl Pattern Matching concepts and how to do pattern matching for this txt file:... (4 Replies)
Hi,
I have a list of IP, eg :
192.168.0.15
192.168.0.24
192.168.2.110
192.168.2.200
And I would like the shortest pattern who match with '192.168.0' and '192.168.2' (without the last dot and number). (7 Replies)
Hi
I want to find a line in a file which contains a word and replace the patterns.
Sample file content temp.xml
====================
<applications>
<application>
Name="FirstService"
location="http://my.website.selected/myfirstService/V1.0/myfirst.war"
... (1 Reply)
I am using Perl version 5.8.4 and trying to understand the use of regular expression. Following is my code and output.
$string = "Perl is a\nScripting language";
($start) = ($string =~ /\A(.*?) /);
@lines = ($string =~ /^(.*?) /gm);
print "First Word (using \\A): $start\n","Line... (4 Replies)
Hi Team,
I am facing a problem as under, Suppose I have a file (test.txt) with the below content (all braces and slashes are included in the contents of the file)
Now I want to append few words below matched line, I have written the below sed:
sed '/option/a insert text here' test... (2 Replies)
Can anyone help me with sed or awk to do a bulk replace of the below requirements.
"REC_ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (
START WITH +7486
INCREMENT BY +1
MINVALUE +7467
MAXVALUE... (6 Replies)
Hi,
I know how to replace a string with another in a file.
But, i wish to replace the below string pattern
EncryptedPassword="{gafgfa}]\asffafsf312a" i.e EncryptedPassword="<any random string>"
To
EncryptedPassword=""
i.e remove the random password to a empty string.
Can you... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
ns_conndrivername
Ns_ConnDriver(3aolserver) AOLserver Library Procedures Ns_ConnDriver(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
Ns_ConnDriverContext, Ns_ConnDriverName - Routines to access communication driver data
SYNOPSIS
#include "ns.h"
void *
Ns_ConnDriverContext(conn)
char *
Ns_ConnDriverName(conn)
ARGUMENTS
Ns_Conn conn (in) Pointer to open connection.
_________________________________________________________________DESCRIPTION
These functions provide access to the underyling communications driver data for an open connection.
char *Ns_ConnDriverName(conn)
Returns the string name of the communication driver, e.g., "nssock". This is the name passed in the Ns_DriverInitData structure in
a call to Ns_DriverInit, not the module name for the particular instance of the loaded driver.
void *Ns_ConnDriverContent(conn)
Returns a pointer to the connection-specific driver context for the given connection. This value is that of the arg element of the
underlying Ns_Sock structure allocated by the server and used by communication drivers to manage private state. If the connection
is closed, the value returned is always NULL.
SEE ALSO Ns_DriverInit(3)KEYWORDS
connection, context
AOLserver 4.0 Ns_ConnDriver(3aolserver)