QS – Uppercase

Make the first field of standard input uppercase:

python3 -c "import sys;[print(l.split()[0].upper(),*l.split()[1:]) for l in sys.stdin]"

Unknown's avatar

About Linuxgal

Need a spiritual home? Consider joining us at Mary Queen of the Universe Latter-day Buddhislamic Free Will Christian UFO Synagogue of Vishnu
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment