I bought some batik for mom in airport. hehehe another green ..
As we all know mother day in Malaysia is celebrate every second Sunday in May. I don’t know why but it seem hard for me to wish my mum Happy Mother Day directly. I have problem expressing myself.

This note is dedicated to my chubby hubby that keep asking me how to remove ^M in a file.
UNIX treats the end of line differently than other operating systems. Normally CTRL-M character is visibly displayed at the end of each line as ^M if the file is not transfered in binary mode (this is why I always prefer SFTP instead of FTP).
- In vi, to remove the ^M do as following :
- with Solaris you can just do (heard HPUX has the command “dos2ux” instead of dos2unix):
- You can also use the octal representatiion of ^M:
:%s/^V^M//g
^V is a CONTROL-V character
^M is a CONTROL-M.
So it will look like this:
:%s/^M//g
%s is a basic search and replace command in vi.
The g is use for search and replace globally (all occurrences).
dos2unix <dos file> <unix file>
tr -d ‘\015\032′ < file
I was busy with training and normally by the time I reach hotel it would be 6:30 or sometime 8:00 pm (here at 6:30 it very dark). Don’t really snap any interesting stuff. Went to 2 shopping mall but the price is too expensive for me. I don’t wear jimm choo shoes … I wish I can have a pair but I know where I stand with my current salary I can’t afford to spend that amount of money on pair of shoes … Buy a pair of batik for mom .. hope she like it …
I was bored while on the flight. Tried asking Lan to join me but he can’t it. Apparently he got work that need to be done ASAP. I got aisle seat so can’t snap the cloud. I snap a few pic while in plane and that about it. Stayed at Hotel Mulia Senayan. The room is huge
.

