diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-15 00:48:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-15 00:48:09 +0200 |
commit | 32d6ff62288b4fdca9842467b0e88a035b70a6fa (patch) | |
tree | 6f3a3057c3365e09aef0fb60e5fc96540f3a75f7 /doc/rat-cursors/to-text | |
parent | update todo (diff) | |
download | mds-32d6ff62288b4fdca9842467b0e88a035b70a6fa.tar.gz mds-32d6ff62288b4fdca9842467b0e88a035b70a6fa.tar.bz2 mds-32d6ff62288b4fdca9842467b0e88a035b70a6fa.tar.xz |
doc: do not use X in icons + m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | doc/rat-cursors/to-text | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/rat-cursors/to-text b/doc/rat-cursors/to-text index 998159b..9bdcd7d 100755 --- a/doc/rat-cursors/to-text +++ b/doc/rat-cursors/to-text @@ -1,10 +1,13 @@ #!/bin/sh -data="$(sed 's/\(.\) /\1\1/g' | sed 's/\./ /g' | sed 's/@/X/g' | sed 's/ \+$//g')" +data="$(sed 's/\(.\) /\1\1/g' | sed 's/\./ /g' | sed 's/O/#/g' | sed 's/ \+$//g')" while [ $(echo "${data}" | grep -v '^ ' | grep -v '^$' | wc -l) = 0 ]; do data="$(echo "${data}" | sed 's/^ //')" done -echo "${data}" +while [ "$(echo "${data}" | sed 1q)" = "" ]; do + data="$(echo "${data}" | sed 1d)" +done +echo "${data}" |