Capone
Use Python to make the first field of a text file uppercase:
#!/usr/bin/python3
import sys,re
for line in sys.stdin:
word=line.split()
word1=re.split("\s",line)[0]
word1=word1.upper()
print(str(word1)," ".join(word[1:]),end=" ")
print()
Format a .CSV file in columns like a spreadsheet:
column asteroids.csv -t -s ","
Convert between numerical bases:
#! /bin/bash
printf "hex2dec=";echo "ibase=16;$1"|bc
printf "dec2hex=";echo "obase=16;$1"|bc
printf "oct2dec=";echo "ibase=8;$1"|bc
printf "dec2oct=";echo "obase=8;$1"|bc
curl
Weather report in the console, any time:
$ curl wttr.in/seattle