I have a file with multiple records, given below is one such record.
APPLE,1527777000 Here the second parameter is the date in long format. I want to convert this into date format. I have a command ssboetod for the same. Given below is the executed output for ssboetod.
ssboetod 1527777000 Thu May 31 20:00:00 2018 I want the conversion to happen with awk command. Given below is the awk command used to just output the file records.
awk -F, '{print $1","$2}' <file> APPLE,1527777000 Expected output with awk command is:
APPLE,Thu May 31 20:00:00 2018 Looking for a awk command which will take the ssboetod command and give the expected output.