Search Results

Search: Posts Made By: Krishna Yadav
Forum: UNIX and Linux Applications 08-19-2014
3,104
Posted By Krishna Yadav
@linuxUser: The questions is not clear to me. Can...
@linuxUser: The questions is not clear to me. Can you please tell us what exactly you want to achieve?

Thanks & Regards
Krishna Yadav
1,547
Posted By Krishna Yadav
Please check this
Use it & let me know if this works for you:
file="tmp.txt" ### file to search & replace employees
pat_file="term.txt" ### file containing pattern

while read pat_line
do
sed -i...
1,547
Posted By Krishna Yadav
Check & let me know
Use it & let me know if it is working fine for you:

file="tmp.txt" ### this is your input file with all the records
pat_file="term.txt" ### this is your pattern file.

while read pat_line
do...
1,547
Posted By Krishna Yadav
Use it & let me know if it is working fine for...
Use it & let me know if it is working fine for you:

file="tmp.txt" ### this is your input file with all the records
pat_file="term.txt" ### this is your pattern file.

while read pat_line...
Forum: UNIX and Linux Applications 08-14-2014
3,104
Posted By Krishna Yadav
Use the following command: sed -i...
Use the following command:
sed -i 's/jai\/1/jai\/2/g' file.txt
Please use CODE tags (not COLOR tags) to display sample input, sample output, and code segments.
Showing results 1 to 5 of 5

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