Skip to main content
Commonmark migration
Source Link

#Bash, 26 bytes

Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others. See my other answer for the 6 byte version.

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others. See my other answer for the 6 byte version.

Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others. See my other answer for the 6 byte version.

added 43 characters in body
Source Link
Daniel
  • 427
  • 3
  • 6

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others. See my other answer for the 6 byte version.

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others.

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others. See my other answer for the 6 byte version.

added 259 characters in body
Source Link
Daniel
  • 427
  • 3
  • 6

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others.

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others.

#Bash, 26 bytes

yes>y&while :;do rm y;done 

If I were to expand this one-liner, I would get this:

yes > y & # Write out infinitely to the file y in the current directory while true # Let's do something forever do # Here's what we're going to do rm y # delete y done # That's all we're going to do 

This can't exactly compete with the 10 byte PowerShell line, but it'll hold its own against the others.

Source Link
Daniel
  • 427
  • 3
  • 6
Loading