====== GNU nano ======
- [[http://www.nano-editor.org/|GNU nano]]
- [[http://en.wikipedia.org/wiki/Nano_%28text_editor%29|nano (text editor)]] 維基百科
- [[http://digiland.tw/viewtopic.php?id=836|[Optware] GNU nano 彩色顯示關鍵字]]
===== 安裝 =====
# ipkg-opt install nano
===== 版本 =====
# nano -V
GNU nano version 2.1.9 (compiled 01:11:43, Feb 19 2009)
(C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
Email: nano@nano-editor.org Web: http://www.nano-editor.org/
Compiled options: --disable-nls --enable-color --enable-extra --enable-multibuffer --enable-nanorc
===== 彩色顯示 =====
# nano /opt/etc/nanorc
include "/opt/share/nano/sh.nanorc"
- 去除6, 8, 9, 10行的 \>
# nano /opt/share/nano/sh.nanorc
color green "(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)"
color green "-[Ldefgruwx]"
color green "-(eq|ne|gt|lt|ge|le|s|n|z)"
color brightblue "(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)"
{{http://digiland.tw/uploads/614_dd-wrt_bin_ipkg.gif}}