ness:emercoin-format.py
- Status
- active, expires in 530,415 blocks (~3,031 days)
- Owner
- em1qyx8vay5rrfd5pml8e03gsw7pxh7p55pgc5a4fh
- Expires at
- block 1348009
- Last change
- 109908d9e13c…ea8b4802991d
Value
import sys␊def clean_text(text):␊ # Replace literal \r\n with actual line breaks␊ return text.replace('\\n', '\n')␊if __name__ == "__main__":␊ if len(sys.argv) > 1:␊ # If argument provided, use it as input␊ text = sys.argv[1]␊ print(clean_text(text))␊ else:␊ # If no argument, read from stdin␊ text = sys.stdin.read()␊ print(clean_text(text))
History