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

Return to Answer

Commonmark migration
Source Link

Bash, (削除) 33 (削除ここまで) 23 bytes

...with a lot of help:
-3 thanks to manatwork
-4 thanks to spuck
-3 thanks to Nahuel Fouilleul

echo `xxd -c1 -p -u 1ドル`

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

Bash, (削除) 33 (削除ここまで) 23 bytes

...with a lot of help:
-3 thanks to manatwork
-4 thanks to spuck
-3 thanks to Nahuel Fouilleul

echo `xxd -c1 -p -u 1ドル`

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

Bash, (削除) 33 (削除ここまで) 23 bytes

...with a lot of help:
-3 thanks to manatwork
-4 thanks to spuck
-3 thanks to Nahuel Fouilleul

echo `xxd -c1 -p -u 1ドル`

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

added 156 characters in body
Source Link
Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293

Bash, (削除) 33 (削除ここまで) 3023 bytes

...with a lot of help:
-3 thanks to manatwork
-4 thanks to spuck
-3 thanks to Nahuel Fouilleul

xxdecho `xxd -uc1 -p 1ドル|fold -2|tr \\n \u 1ドル`

Try it online! Try it online!

Note that the TIO link above uses input - we can write files locally, so this this shows it working as a program taking a file path.

Bash, (削除) 33 (削除ここまで) 30 bytes

-3 thanks to manatwork

xxd -u -p 1ドル|fold -2|tr \\n \ 

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

Bash, (削除) 33 (削除ここまで) 23 bytes

...with a lot of help:
-3 thanks to manatwork
-4 thanks to spuck
-3 thanks to Nahuel Fouilleul

echo `xxd -c1 -p -u 1ドル`

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

deleted 97 characters in body
Source Link
Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293

Bash, (削除) 33 (削除ここまで) 30 bytes

-3 thanks to manatwork

xxd -u -p 1ドル|fold -w2|tr2|tr '\n'\\n '\ '

Try it online!

Probably non-optimal, I'm not much of a Linux-head. Note that the TIO link above uses input - we can write files locally, so this works but the echo needs us to escape the $ and \n again sothis shows it looks like 32 bytesworking as a program taking a file path.

Bash, (削除) 33 (削除ここまで) 30 bytes

-3 thanks to manatwork

xxd -u -p 1ドル|fold -w2|tr '\n' ' '

Try it online!

Probably non-optimal, I'm not much of a Linux-head. Note that the TIO link above uses input - we can write files locally, so this works but the echo needs us to escape the $ and \n again so it looks like 32 bytes.

Bash, (削除) 33 (削除ここまで) 30 bytes

-3 thanks to manatwork

xxd -u -p 1ドル|fold -2|tr \\n \ 

Try it online!

Note that the TIO link above uses input - we can write files locally, so this shows it working as a program taking a file path.

added 105 characters in body
Source Link
Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293
Loading
Source Link
Jonathan Allan
  • 115.4k
  • 8
  • 68
  • 293
Loading

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