Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Take a stand against long quine lines

or: Build a vertical quine

Inspired by Take a stand against long lines.

Your task is to build a vertical quine with as short a line length as possible.

Scoring

Shortest line length (excluding newlines) wins, with criteria as a tie-breaker.

Line length is determined as the longest line in your program excluding the line break character.

For example:

$_=
Q.
P

has a line length of 3 and a byte count of 8, whilst:

Q
$
_
P

Has a line length of 1 and a byte count of 7 (assuming no trailing newline).

Rules

Quines must meet the community definition of a quine.

Standard loopholes are forbidden.

Answer*

Draft saved
Draft discarded
Cancel
1
  • 1
    \$\begingroup\$ It saves a lot of escaping to change that to main=putStr$(:"\\\n")=<<s++show s;s="<data>". Try it online! \$\endgroup\$ Commented Feb 19, 2018 at 18:45

AltStyle によって変換されたページ (->オリジナル) /