Search Results

Search: Posts Made By: gokulj
1,603
Posted By gokulj
Thanks a lot dear. It works .
Thanks a lot dear.
It works .
1,603
Posted By gokulj
Need AWK help!!
Dear All,

Need the logic in awk to match a pattern in a file and insert a line above and below the matched pattern.

Eg:
cat text;
09/04/2010
10/04/2010
11/04/2010

I want to match...
4,742
Posted By gokulj
I am getting the following error, P01:~$sed...
I am getting the following error,

P01:~$sed -i 's/^PRODUCTIVITY$/Reminder1\n\1reminder2/' servernotification.txt
sed: Not a recognized flag: i
Usage: sed [-n] Script [File ...]
sed...
4,742
Posted By gokulj
MATCH A PATTERN AND PRINT A LINE ABOVE AND BELOW
Dear All,

Hv a very specific requirement.

I have a very large text file and in which I have to match a pattern and insert a line above and below.

Eg:

My file

cat test
date1
date2...
Forum: Web Development 10-06-2009
4,164
Posted By gokulj
The data is in a oracle table. ----------...
The data is in a oracle table.

---------- Post updated at 06:32 PM ---------- Previous update was at 06:31 PM ----------

Neo request you to help me ...
3,267
Posted By gokulj
pattern matching using awk.
Dear Team,

How do we match two patterns on the same line using awk?Are there any logical operators which i could use in awk like awk '\gokul && chennai\' <filename>

Eg:

Input file:
...
9,328
Posted By gokulj
ope the file in vi editor 1.hit esc . 2....
ope the file in vi editor

1.hit esc .
2. Type %s/"pattern to be matched"/"pattern to be replaced"/g

This will replace all the instances of pattern to be matched
Forum: Web Development 08-11-2009
4,164
Posted By gokulj
Display the contents of a table.
Dear Friends,

Am an newbie to this domain. I have a table which is filled with contents which i need to be updated with,so am trying to design a flow which would read the data from the table and...
1,591
Posted By gokulj
Thank you nimish for your reply. I did not...
Thank you nimish for your reply.

I did not have to permission to push through into....

Anyways thanks a lot.......
1,591
Posted By gokulj
Regarding Crontab
Do we have any way to find when the crontab entry was last edited?:)
6,753
Posted By gokulj
go to that particular directory where your files...
go to that particular directory where your files reside.

ls -lart | grep 'Dec 24' | awk {' print $5'} | xargs rm
2,021
Posted By gokulj
am a newbie to unix. plz help in understanding this code.
hi everybody.
please help me in understanding this code.



echo "************* starting job on `date +\"%d/%m/%Y at %T\"` **************"
#
scriptdir=`dirname $0`
....
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy