misc lispusers changes -- UNIXYCD, lsee (#889)
* Move cd, ls, pwd to it's own little lispusers (needs documentation) * add .TXT documentation, also patch lsee script to translate ^ and _ to up and left arrow * Add document for CONDITIONGRAPH
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
# Usage 'lsee file'
|
||||
# translates CR as newline
|
||||
# translate _ and ^
|
||||
# changes font-change control-characters ^F^x
|
||||
# to linux color escapes:
|
||||
# A regular
|
||||
@@ -9,9 +10,11 @@
|
||||
# C comment yellow
|
||||
# D big/bold red
|
||||
|
||||
export LANG=C
|
||||
export LANG=en_US.UTF-8
|
||||
tr '\r' '\n' < $1 | \
|
||||
sed -e 's//[0m/g' \
|
||||
sed -e 's/_/←/g' \
|
||||
-e 's/^/↑/g' \
|
||||
-e 's//[0m/g' \
|
||||
-e 's//[31m/g'\
|
||||
-e 's//[1m/g' \
|
||||
-e 's//[33m/g'\
|
||||
|
||||
Reference in New Issue
Block a user