How do I bold the "Date & Time" numbers from the following file with the tput command (I have a Solaris machine)?
For example, I want to bold only the "24-09-2009 16:17:45", etc. for all other date and time.
The tput will write in my ksh script.
TIMESTAMP SET_ID TELEPHONE No TYPE
------------------- ---------- -------------------- ---------- ------------------
24-09-2009 16:17:45 0 33633333333 20 other_mms_phone
24-09-2009 17:45:07 0 33644444444 20 other_mms_phone
07-10-2009 10:45:49 0 12312312312 20 legacyphone
07-10-2009 11:46:38 0 59320000043 20 other_mms_phone
try solution by this - but not work on my solaris machine ?
awk 'NR>2' output.csv | sed 's/^\(.\{2\}\)\(.\{19\}\)/\1'$(tput rmso ) '/'
Illegal variable name.