execline quine without external commands

From: Sertonix <sertonix_at_posteo.net>
Date: Sun, 14 Jul 2024 11:52:40 +0000

It bothered me a bit that there were only execline quines using external
commands (probably an execline limitation when they were written). So I
set down and wrote one without:

#!/bin/execlineb
export \# 1
define 1 "#!/bin/execlineb
export ${b}# 1
define 1 ${q}${1}${q}
export 1 $1
define q ${b}${q}
define b ${b}${b}
importas 1 1
export 1 $1
dollarat"
export 1 $1
define q \"
define b \\
importas 1 1
export 1 $1
dollarat

I was unable to find any new size improvements :(
Received on Sun Jul 14 2024 - 13:52:40 CEST

This archive was generated by hypermail 2.4.0 : Sun Jul 14 2024 - 13:53:11 CEST