perl -p -e 's/(\r\n|\n|\r)/\r\n/' inputfile > outputfile # Convert to DOS perl -p -e 's/(\r\n|\n|\r)/\n/' inputfile > outputfile # Convert to UNIX
Ed note: make the following a sidebar:
Surprises!
If your object has fields that could conceivably have these values,
then you must be careful. Either use (x == 0.0F ? 0 : Float.floatToIntBits(x)) (x == 0.0 ? 0L : Double.doubleToLongBits(x)) |
[root@plethora45 bin]# c++filt _ZN14CSPacketSender10SendPacketERK7JVHDataPvi CSPacketSender::SendPacket(JVHData const&, void*, int) [amahajan@localhost Release]$ objdump -d PacketSender.oGNU binary utilities (objdump, addr2line, strings