Are Fortran control characters (carriage control) still implemented in compilers?

In years past, ignoring this use of the first column could cause bad things on a line printer, like page ejects — but when was the last time that you saw a line printer? Otherwise it was output device, compiler and OS dependent. The advice of “Fortran 95/2003 for Scientists and Engineers” was excellent for … Read more

Get-Content and show control characters such as `r – visualize control characters in strings

One way is to use Get-Content’s -Encoding parameter e.g.: Get-Content foo.txt -Encoding byte | % {“0x{0:X2}” -f $_} If you have the PowerShell Community Extensions, you can use the Format-Hex command: Format-Hex foo.txt Address: 0 1 2 3 4 5 6 7 8 9 A B C D E F ASCII ——– ———————————————– —————- 00000000 … Read more