Search Results

Search: Posts Made By: Ravi Kishore
9,519
Posted By RavinderSingh13
Hello Ravi, Could you please try following...
Hello Ravi,

Could you please try following and let me know if this helps.

echo "/data/app1a_test2_heep.log" | awk '{match($0,/\/.*_/);gsub(/.*\//,X,$0);gsub(/_.*/,Y,$0);print $0}'
OR
echo...
4,519
Posted By Scrutinizer
Try putting: shopt -s extglob At the...
Try putting:
shopt -s extglob
At the beginning of your script.
4,519
Posted By RudiC
Please use code tags as required by forum rules! ...
Please use code tags as required by forum rules!

Any attempts from your side?

---------- Post updated at 13:06 ---------- Previous update was at 13:00 ----------

Anyhow, with a recent bash -...
Showing results 1 to 3 of 3

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