This commit is contained in:
Ev Bogdanov 2017-01-26 19:29:57 +03:00
commit c2271ba672
43 changed files with 886 additions and 0 deletions

15
bin/F Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
if [[ $# -eq 1 ]]; then
perl -C -Mutf8 -lanE "$1"
elif [[ $# -eq 2 ]]; then
if [[ -f "$2" ]]; then
perl -C -Mutf8 -lanE "$1" "$2"
else
perl -C -Mutf8 -F''"$1"'' -lanE "$2"
fi
elif [[ $# -eq 3 && -f "$3" ]]; then
perl -C -Mutf8 -F''"$1"'' -lanE "$2" "$3"
fi