Search Results

Search: Posts Made By: Rajendra_1510
1,567
Posted By Rajendra_1510
no...The first one is inserting a file into...
no...The first one is inserting a file into another file after a line number whereas the new one is respect to inserting specified lines of a file above a line number(or a specified pattern).Thanks
1,567
Posted By Rajendra_1510
Inserting a file into another file above a specified location
Hi.I have two files say XXX.dat and YYY.dat

The contents of XXX.dat and YYY.dat are as follows

XXX.dat

Jan
Feb
Mar
Apr
Method 1
{
echo "This is method 1"
}

YYY.dat

Delhi...
5,459
Posted By Rajendra_1510
Inserting file into another file at a specified line number
Hi,

I have two files XXX.dat and YYY.dat and their contents are as follows.

The contents of XXX.dat(The line numbers are just for reference)

1) Mango
2) Banana
3) Papaya...
5,715
Posted By Rajendra_1510
Thank u for ur replu..Its working:)
Thank u for ur replu..Its working:)
5,715
Posted By Rajendra_1510
Finding the line number of matching braces
Hi,I am new to shell scripting and i want to find the line numbers of matching braces.

The file contents are as follows

File XXX.dat

1 ( CLASS "FRUIT"
2 (TYPE "PERSISTENT")
3 ...
Showing results 1 to 5 of 5

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