Search Results

Search: Posts Made By: ANK
12,373
Posted By ANK
is that in RUBY?
$ ruby -F"\|" -ane 'puts $F[2] if $F[0] =~ /^.*server-2$/' file
SVR_HOST=server-2.tst.com
12,373
Posted By ANK
Searching a delimited Key value pairs in shell script
Hello,

I have property file with key value pairs separated by pipe , I am trying to write a script which reads the property file and search and print value of specific key. I tried with Sed, I am...
Showing results 1 to 2 of 2

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