Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
9.sh - for Peter's broken keyboard.
#!/bin/bash
echo '('
#!/bin/bash
echo 9
#!/bin/bash
# Echo a character, in case your keyboard is broken
# Installation:
# 1. Put this script in your path
# 2. Symlink the script to a filename with the broken key(s)
# e.g. if your "9" key is broken
# ln -s key.sh 9
# Usage:
# Run the script from the symlink
echo `basename $0`
<?php
// requires copy & pasting 1 char at a time
for ($i = 33; $i < 128; $i++) { echo chr($i); }
@dave1010

This comment has been minimized.

Copy link
Owner Author

@dave1010 dave1010 commented Mar 7, 2011

alias open-parentheses='\(.sh'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment