1
0
mirror of synced 2026-01-26 04:12:03 +00:00

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:
Larry Masinter
2022-09-13 12:04:23 -07:00
committed by GitHub
parent 06a7356b00
commit 095beef454
9 changed files with 80 additions and 27 deletions

View File

@@ -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///g' \
sed -e 's/_/←/g' \
-e 's/^/↑/g' \
-e 's///g' \
-e 's///g'\
-e 's///g' \
-e 's///g'\