Unix - Convert GMT time field to PST time
问题 Sorry if this has been asked before. I have a text file that contain a field with GMT time on Unix. I want to convert that field to the PST time zone in the same format. source file test.txt 20200804T221806.214 GMT,2003060015,2003060018 20200804T232027.571 GMT,2005260045,2005260095 20200804T232027.572 GMT,2005260045,2005260095 20200805T000119.715 GMT,2005290022C,2005290042D 20200805T000119.715 GMT,2005290022C,2005290042D 20200801T000326.111 GMT,2005290028C,2005290050D 20200101T000326.111 GMT