Search Results

Search: Posts Made By: haris1
8,940
Posted By haris1
How do i Replace if the pattern what I am trying...
How do i Replace if the pattern what I am trying to search is not fixed , like in the previous post as i have mentioned

I have to replace all flag values "N" to "Y" only for string starting with...
8,940
Posted By haris1
Hi , I have a doubt here If my pattern is not...
Hi ,
I have a doubt here
If my pattern is not fixed , like in below case then how can I do that using sed command .
I tried using awk command but it replaced N with Y in entire file.txt


awk...
1,546
Posted By haris1
Hi , You can do that using if [ -f...
Hi ,
You can do that using

if [ -f file.txt ]; then

Regards,
Haris
1,998
Posted By haris1
can you give more details and the desired output...
can you give more details and the desired output you are expecting
If possible please also paste your current shell script
Showing results 1 to 4 of 4

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