Search Results

Search: Posts Made By: vinredmac
11,052
Posted By vinredmac
Extract string between 2 special characters
Hi,

I have a unix file with contents as below

Line1: ABC MNN X$$QWERTY$$ JKL

Line2: HELLO $$HOW$$ ARE $$YOU$$ DOING

i want to extract the string between $$ and $$ ie i want the output as...
1,782
Posted By vinredmac
Others Running a script as owner
Hi All,

I have a script in which the contents of the script can be run only with Admin account (inst1).
the script has connecting to database and performing some routine database admin tasks....
1,640
Posted By vinredmac
Thank you Guys awk -F'|' 'NF==4{$0=$0 FS};1'...
Thank you Guys

awk -F'|' 'NF==4{$0=$0 FS};1' yourFile .... worked
awk -F| ' if(NF==3){print $0"|"} else {print $0}' inputfile ..throwed syntax error on Aix

awk -F"|" 'if(NF==3) {print $0}"|" ;...
1,640
Posted By vinredmac
Find field count and replace
Hello All,

I have a file with contents like
apple|ball|charlie|David|
England|France|Germany|
Ireland|Japan|King|London|
Man|Nancy|Orange|

here the column delimiter is |

so if any of the...
1,321
Posted By vinredmac
Thank you!
Thank you!
1,321
Posted By vinredmac
Column to row output
Hello All,

i have a file with the contents like shown below
Name = POLICY1
Selected = 1
Written = 0
Name = POLICY2
Selected = 6
Written =...
Showing results 1 to 6 of 6

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