Skip to content

Commit 73a9a53

Browse files
author
Your Name
committed
oeis: echo is for if printf is for output
1 parent 6b5e375 commit 73a9a53

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

share/adapters/oeis.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ oeis() (
148148
for i in ${!ID[@]}
149149
do
150150
printf "${ID[$i]}: ${DESC[$i]}\n"
151-
echo ${SEQ[$i]}
152-
printf '\n'
151+
printf "${SEQ[$i]}\n\n"
153152
done
154153
fi
155154
grep 'results, too many to show. Please refine your search.' /tmp/oeis/doc.html | sed -e 's/<[^>]*>//g; s/^[ \t]*//'

0 commit comments

Comments
 (0)