Search Results

Search: Posts Made By: xiaoluo
28,722
Posted By xiaoluo
Following lines may works perfectly according to...
Following lines may works perfectly according to your requirements:

sed '/^\#/d' PropertiesFileName.properties | grep 'KeyName' | tail -n 1 | sed 's/^.*=//;s/^[[:space:]]*//;s/[[:space:]]*$//'
...
Showing results 1 to 1 of 1

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