Search Results

Search: Posts Made By: Subbu123
1,882
Posted By Subbu123
Hai , actually i need the line numbers in a...
Hai ,

actually i need the line numbers in a file for further processing. I need to read data (line)from a a file(Here its testfile) and i have to search it in another file(filesearch). If found, i...
1,882
Posted By Subbu123
Select only line numbers using grep
Hai,

I want to select only line numbers into a file if some pattern matches. I have written my script like below but its not working.

#!/bin/sh
file='/home/testfile1'...
8,279
Posted By Subbu123
Thanks.. i have got it :)
Thanks.. i have got it :)
8,279
Posted By Subbu123
Paste command not working in shell script
Hai ,

When i use paste command in command prompt its giving expected output but not in the script. Below is the example.

$cat file
1
2
3
$cat file1
4
5
6
$paste -d ':' file file1
1:4...
1,844
Posted By Subbu123
Thank you :) it works
Thank you :)
it works
1,844
Posted By Subbu123
Hmmm, yes, i got it now. But i have another...
Hmmm, yes, i got it now.

But i have another doubt, could any one tel me how to find out whether the lines is starting with a particular word or not.

like in the following lines i need to FIN...
1,844
Posted By Subbu123
Grep -f ??
Hi,

i was wondering about this result. Could you please help me out.

the datafile has cobol predefined keywords. but the search word "K-MOVE-TEXT." was not present in the datafile. but still...
1,321
Posted By Subbu123
How to remove certain lines using sed?
Hi,

I am new to unix and i started some scripting recently. Please go through the following script i wrote.

#!/bin/sh
file='path../tfile'
file1='path../tfile1'
rmfile='path../test2'
C1=1...
Showing results 1 to 8 of 8

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