next.sh (152B)
1 #!/bin/sh 2 3 psql spanish-dictionary -c "SELECT * FROM dictionary WHERE next_appearance < current_timestamp ORDER BY next_appearance" | tail -n 2 | sed q