Hello Everyone,
I have been trying to complete a shell script where, I need to increment the date depending on the file (depending on the date) availability on the remote server.
i.e.
Basically, I will be passing a counter (like parameter 1 or 2 or 3 or 4).
First I will check for the... (1 Reply)
Hi ,
I am having two files FILE1 and FILE2 as shown below
I need to search each and every element of Coulumn1 in the FILE1 in FILE2 and Globally replace with the Corresponding element of the Column2 in the FILE2 , For example and1 which is the first element of COl 1 of the FILE1 should be... (4 Replies)
Hi
I am having a big file where the interested section is shown below
I need to write one awk script to search for the _N thing and delete it till the blank space
means _N1 or _N4 everything needs to be deleted
Removing the links like _N402 and like that
... (5 Replies)
When I did,
echo $SHELL in cmd prompt of putty,
its displaying /bin/sh
And in my shell script.,
I hav started with.,
#!/bin/sh
and
i=1;
while ;
do
.
.
.
i=$; (9 Replies)
Hi
I am having some contents in my file like this
file1
##########################
pin (PIN1) {
direction : input ;
capacitance : 121 ;
max_transition : 231 ;
}
pin (PIN2) {
direction : input ;
capacitance : 124 ;
max_transition : 421 ;... (8 Replies)
Help Please
I have 2 files. each file contain 2 columns.1st file 1st column contain symbols (keys-a1..a22..a-x,a-y) and 1st file 2nd column contain values (any like 2344,434323). Secondfile also the same but the values are may be different or not and the symbols (keys) are same but may be... (0 Replies)
Here is my code:
int startingPort = 200;
string tempPort;
stringstream out;
out<<startingPort;
tempPort = out.str(); //tempPort carries startingPort in string format
//convert tempPort to *char - currentPort going to be passed into getaddrinfo()
char currentPort;... (10 Replies)
can anybody help me out in writing the any script (awk,shell or perl script) for incrementing the specific field highlighted below
/{/data/{/assetMetricsList//{1]/dailyCount,........./{/data/{/assetMetricsList//{100]/dailyCount
It should be in below format in oneline seperated by commas
... (1 Reply)
First: me == noob. Whats a good resource for shell script info cause I'm having trouble finding good info.
I'm writing a shell script to automate the setup of a flash 'page flip'.
My current code is below.
the page flip takes an xml file of format
<content>
<pages... (1 Reply)
I wrote a awk but doesnt work as expected.
The Input File
attached input file
My awk Script
/^.......*EXEC CICS /,/END-EXEC/
{
if ( $0 ~ / LINK / )
{ tsflag=1 }
if ( $0 ~ /EXEC CICS/ && tsflag == 1 )
... (6 Replies)