23 votes

Boustrophedonise

APL (Dyalog Classic), 4 bytes ⊢∘⌽\ The input is a vector of character vectors. is a function that reverses a vector (when <...
ngn's user avatar
  • 15.2k
13 votes

Boustrophedonise

Haskell, 26 bytes zipWith($)l l=id:reverse:l Try it online! Usage example: zipWith($)l ["abc","def","ghi"] yields ...
Laikoni's user avatar
  • 26.1k
13 votes

Boustrophedonise

Husk, 4 bytes z*İ_ Takes and returns a list of strings (the interpreter implicitly joins the result by newlines before printing). The first string is reversed. ...
Zgarb's user avatar
  • 42.6k
10 votes

Between the Lines

Octave, 233 225 216 213 bytes ...
flawr's user avatar
  • 43.8k
8 votes

Fully-justify & hyphenate a block of text

GNU sed -r, 621 bytes Takes input as two lines: The width as a unary number first and the string second. I'm certain this could be golfed much more but I've ...
Jordan's user avatar
  • 9,864
8 votes
Accepted

Fully-justify & hyphenate a block of text

JavaScript (ES6), 218 bytes ...
Justin Mariner's user avatar
8 votes

Fully-justify & hyphenate a block of text

JavaScript (ES6), 147 bytes Takes input as (width)(text). ...
Arnauld's user avatar
  • 191k
7 votes

Easier communication means… ○ circular edition!

Octave, 168 bytes ...
Stewie Griffin's user avatar
7 votes

Easier communication means… ○ circular edition!

Mathematica, 153 Bytes ...
Ian Miller's user avatar
7 votes

Boustrophedonise

JavaScript (ES6), Firefox, 43 bytes This version abuses the sort algorithm of Firefox. It generates garbage on Chrome and doesn't alter the strings at all on Edge. ...
Arnauld's user avatar
  • 191k
6 votes

Easier communication means… ○ circular edition!

HTML and JS, 13 + 170 = 284 227 192 186 183 bytes 41 bytes saved thanks to @Shaggy ...
Uriel's user avatar
  • 13.1k
6 votes

Between the Lines

Html+JavaScript ES6, 352 Test running the snippet below ...
edc65's user avatar
  • 32.1k
6 votes

Boustrophedonise

Haskell, 27 bytes foldr((.map reverse).(:))[] Try it online! Haskell, 30 bytes f(a:b:c)=a:reverse b:f c f a=a Try it ...
totallyhuman's user avatar
  • 16.8k
6 votes

Boustrophedonise

Perl 5, 17 + 2 (-pl) = 19 bytes odd lines reversed $_=reverse if$.%2 even lines reversed $_=reverse if$|-- After @Martin'...
Nahuel Fouilleul's user avatar
6 votes

Boustrophedonise

APL (Dyalog Unicode), 10 bytes ⌽¨@{2|⍳≢⍵} Works both ways: Try it online! with ⎕IO←1 Try it online! with ...
J. Sallé's user avatar
  • 3,453
6 votes

Take CR and LF literally

Charcoal, 10 bytes UTFθ«ι≡ι⸿↑ Try it online! Link is to verbose version of code. Explanation: UT Disable right padding. <...
Neil's user avatar
  • 169k
5 votes

Between the Lines

Javascript ES6, 506 bytes ...
Dendrobium's user avatar
  • 2,502
5 votes

Easier communication means… ○ circular edition!

Bash + ImageMagick, 168 bytes ...
betseg's user avatar
  • 8,743
5 votes

Easier communication means… ○ circular edition!

BBC BASIC, 248 Download interpreter at http://www.bbcbasic.co.uk/bbcwin/download.html ...
Level River St's user avatar
5 votes

Boustrophedonise

05AB1E, 5 4 bytes εNFR Try it online! Explanation ...
Emigna's user avatar
  • 52.9k
5 votes

Take CR and LF literally

Ruby, 24 17 bytes ->s{s.tr $/,"\v"} Try it online! It does not work on TIO, but works on the Linux console.
G B's user avatar
  • 21.6k
4 votes

Fully-justify & hyphenate a block of text

APL (Dyalog Unicode), 129 123 121 118 111 109 107 104 100 95 bytesSBCS ...
ngn's user avatar
  • 15.2k
4 votes

Boustrophedonise

R, 85 bytes for(i in seq(l<-strsplit(readLines(),"")))cat("if"(i%%2,`(`,rev)(l[[i]]),"\n",sep="") Try it online! Input from stdin and output to stdout. Each ...
Giuseppe's user avatar
  • 28.4k
4 votes

Take CR and LF literally

Java 10, 211 207 206 bytes ...
Kevin Cruijssen's user avatar
4 votes

Interpret control characters like a terminal

Charcoal, 31 bytes FS≡℅ι⁸M¬¬ⅈ←⁹M⁻⁸﹪ⅈ⁸→χ⸿¹¹M↓¹³Mⅈ←ι Try it online! Link is to verbose version of code. Explanation: FS Loop ...
Neil's user avatar
  • 169k
3 votes

Easier communication means… ○ circular edition!

SVG(HTML5), 212 bytes ...
Neil's user avatar
  • 169k
3 votes

Between the Lines

Java, 768 bytes ...
Marv's user avatar
  • 839
3 votes

Center The Text!

HTML, 40 bytes <xmp style=float:left;text-align:center> ...
Neil's user avatar
  • 169k
3 votes

Layout Text in Columns

Python 3, 336 339 335 bytes @Jerry Jeremiah's recent activity on this question inspired me to try it myself, and see if Python 3 couldn't manage to beat the old Python 2 answer, and, after some ...
des54321's user avatar
  • 2,345
3 votes

Boustrophedonise

K (oK), 17 14 bytes Solution: @[;&2!!#x;|]x: Try it online! Example: ...
mkst's user avatar
  • 5,135

Only top scored, non community-wiki answers of a minimum length are eligible