Skip to main content
added 13 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45

#ALGOL 60 / 68 / W, 74 4747 50 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1"6380")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

#ALGOL 60 / 68 / W, 74 47 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

#ALGOL 60 / 68 / W, 74 47 50 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 6380")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 
deleted 2 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45

#ALGOL (6060 / 68 / W), 74 47 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

#ALGOL (60 / 68 / W), 74 47 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

#ALGOL 60 / 68 / W, 74 47 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1")OD 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 
deleted 324 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45

#ALGOL (60 / 68 / W), 74 6947 bytes

Run this full program with a68g save.a68, using algol68g.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

ALGOL doesn't have a sleep builtin, so way to sleep but we can abuse ping which is surely on a Unix of the time (Idea from here).

If run essentially /bin/sleep(1) is on whichever Unix is running this ALGOL program, then 47 bytes:

DO print("4 8 15 16 23 42");system("sleep 1")OD 
 

OP says in the challengeOld answer:

OS compatibility is not an issueALGOL doesn't have a sleep builtin, but you couldn't use system() in C to send out bash commands out toso we can abuse ping which is surely on a Unix of the terminal.time (As an exampleidea from here) for 74 69 bytes.

ALGOL's system is pretty much the same as the C standard library's system(3), but the OP seems to also be okay with my use of system for ping(8) above, so I don't know how they'll feel about sleep(1).

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

#ALGOL (60 / 68 / W), 74 69 bytes

Run this full program with a68g save.a68, using algol68g.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (Idea from here).

If sleep(1) is on whichever Unix is running this ALGOL program, then 47 bytes:

DO print("4 8 15 16 23 42");system("sleep 1")OD 

OP says in the challenge:

OS compatibility is not an issue, but you couldn't use system() in C to send out bash commands out to the terminal. (As an example)

ALGOL's system is pretty much the same as the C standard library's system(3), but the OP seems to also be okay with my use of system for ping(8) above, so I don't know how they'll feel about sleep(1).

#ALGOL (60 / 68 / W), 74 47 bytes

Run this full program with a68g save.a68, using algol68g.

ALGOL doesn't have a builtin way to sleep but we can run essentially /bin/sleep:

DO print("4 8 15 16 23 42");system("sleep 1")OD 
 

Old answer:

ALGOL doesn't have a sleep builtin, so we can abuse ping which is surely on a Unix of the time (idea from here) for 74 69 bytes.

DO print("4 8 15 16 23 42");system("ping 1.0 -c1 -w6240>/dev/null")OD 
added 528 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45
Loading
added 11 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45
Loading
added 52 characters in body
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45
Loading
Source Link
cat
  • 6.1k
  • 2
  • 27
  • 45
Loading