[root@localhost ~]# cat 1.txt
1ms
2ms
3ms
4ms
5ms

[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}'
1ms'
2ms'
3ms'
4ms'
5ms'


[root@localhost ~]# cat 1.txt | awk '{print $1"\047"}' > 2.txt
[root@localhost ~]# cat 2.txt
1ms'
2ms'
3ms'
4ms'
5ms'