mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
oeis: echo is for if printf is for output
This commit is contained in:
@@ -148,8 +148,7 @@ oeis() (
|
||||
for i in ${!ID[@]}
|
||||
do
|
||||
printf "${ID[$i]}: ${DESC[$i]}\n"
|
||||
echo ${SEQ[$i]}
|
||||
printf '\n'
|
||||
printf "${SEQ[$i]}\n\n"
|
||||
done
|
||||
fi
|
||||
grep 'results, too many to show. Please refine your search.' /tmp/oeis/doc.html | sed -e 's/<[^>]*>//g; s/^[ \t]*//'
|
||||
|
||||
Reference in New Issue
Block a user