convert shell script to yaml code example

Example 1: shell script to convert yaml

ps -aef|grep ClientProvision.exe
cd /opt/Logs/dmApp
date=date '+%d-%m-%y_%H_'
cat ClientProv_30xcf_$date *.log |grep "Loading InRoamer Details.."

Example 2: convert shell script to yaml

ps -aef|grep ClientProvision.exe
cd /opt/Logs/dmApp
date=date '+%d-%m-%y_%H_'
cat ClientProv_30xcf_$date *.log |grep "Loading InRoamer Details.."

Example 3: shell script to convert yaml

date=date '+%d_%m_%Y_05_'
#echo $date
cd /opt/Logs/dmApp
logfile=ClientProv_30xcf_$date*.log
#echo $logfile
cat $logfile |grep "Loading InRoamer Details.."