Skip to content

Commit

Permalink
set prettify "levels" - separate coloring from markup
Browse files Browse the repository at this point in the history
  • Loading branch information
c00kiemon5ter committed Jan 12, 2013
1 parent 239f5a1 commit 68677ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iii.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ do
# fold lines breaking on spaces if message is greater than 'w' chars
echo "$line" | fold -s -w "$w" | while IFS= read -r mesg; \
do
[ "$p" -ne 0 ] && mesg="$(echo "$mesg" | sed \
[ "$p" -gt 1 ] && mesg="$(echo "$mesg" | sed \
-e "s,\(^\|[[:space:]][[:punct:]]*\)\([_][[:alnum:][:punct:]]\+[_]\)\([[:punct:][:space:]]\|$\),\1${su}\2${eu}\3,g" \
-e "s,\(^\|[[:space:]][[:punct:]]*\)\([_][[:alnum:][:punct:]]\+[_]\)\([[:punct:][:space:]]\|$\),\1${su}\2${eu}\3,g" \
-e "s,\(^\|[[:space:]][[:punct:]]*\)\([/][[:alnum:][:punct:]]\+[/]\)\([[:punct:][:space:]]\|$\),\1${si}\2${ei}\3,g" \
Expand Down

0 comments on commit 68677ca

Please sign in to comment.