Skip to content

Commit

Permalink
fix line numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
faithanalog committed Oct 3, 2024
1 parent 8318469 commit 9fe7311
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions weirdo-dimension/fizzbuzz-sed.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/bin/sh
# well, it may be the case that this works on the BSDs, but of course it may
# well not. funny creatures, those BSDs. not as predictable as a herd of GNU
yes '' | sed '
3~3{ s/$/Fizz/ }
5~5{ s/$/Buzz/ }
t
=; d
'
yes '' \
| sed '
3~3{ s/$/Fizz/ }
5~5{ s/$/Buzz/ }
# do you *understand* now? do you feel the weight of enlightenment?
t
=; d
'

0 comments on commit 9fe7311

Please sign in to comment.