]> git.armaanb.net Git - charsel.git/blob - charsel
It works now! Still need to figuire out the correct directories and makefile for...
[charsel.git] / charsel
1 #!/usr/bin/env sh
2
3 CHARDIR=~/.local/share/charsel
4
5 column -t $CHARDIR/$1 -N SHORT,CHAR -R SHORT,CHAR --output-separator '    |    '
6 read INPUT
7
8 OUTPUT=$(grep $INPUT $CHARDIR/$1 | cut -c 3)
9
10 echo $OUTPUT
11 echo $OUTPUT | xclip -selection clipboard