Append a string at the end of every line in a file

Hi Friends, I have a file with many lines as shown below.
/START SAMPLE LINE/

M:\mmarimut_v6.4.0_pit_01\java\build.xml@@\main\v6.4.0_pit_a
M:\mmarimut_v6.4.0_pit_01\port\Post.java@@\main\v6.4.0_pit_a
M:\mmarimut_v6.4.0_pit_01\switchview\View.java@@\main\v6.4.0_pit_a

/END SAMPLE LINE/

I need to append a string "\0" to the end of every line. Sample output is as follows:

/START SAMPLE OUTPUT/

M:\mmarimut_v6.4.0_pit_01\java\build.xml@@\main\v6.4.0_pit_a\0
M:\mmarimut_v6.4.0_pit_01\port\Post.java@@\main\v6.4.0_pit_a\0
M:\mmarimut_v6.4.0_pit_01\switch\View.java@@\main\v6.4.0_pit_a\0

/END SAMPLE OUTPUT/

I tried the below commands but somehow not sure, i did not get the desired output. Experts Please help.

/SAMPLE CODE/

awk '{print $0 "\\0"}' file > newfile
nawk '{$0=$0"\\0" }1' infile > newfile
gawk '{$0=$0"\\0" }1' infile.txt > outfile.txt

/SAMPLE CODE/

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Proceed here:

Thank You.

The UNIX and Linux Forums.