Hi All,
I am facing a peculiar situation. I have an output from some commands as below
# cat /export/home/FPPCCYHT | head -1 | cut -d"'" -f2 | cut -d"'" -f1
LLM10 01 0100:0240
If i assign this to a variable and then echo instead of 2 spaces only 1 space is appearing, meaning 1 space is being trimmed off.
# F2=`cat /export/home/FPPCCYHT | head -1 | cut -d"'" -f2 | cut -d"'" -f1`
# echo $F2
LLM10 01 0100:0240
expected O/P should be
LLM10 01 0100:0240
If any one wants the content of the file, first 3 lines are as below:
//FPPCCYHT JOB ,'LLM10 01 0100:0240',CLASS=P
//* REMT-08 JAN2009 MIGRATION(REHOSTING). BGRND JOB.
//*
Let me know any other soultion
Regards,
Raghavendra