User Input: Difference between revisions
no edit summary
(Creation, inclusion of data from old console-only page.) |
No edit summary |
||
Line 5:
'''Interpreter:''' [[Perl]] 5.8.8
use strict;
my $string = <STDIN>;
my $integer = <STDIN>;
==UNIX Shell==
'''Interpreter:''' [[Debian Almquish Shell]] (dash)
#!/bin/sh▼
read STRING▼
read INTEGER</nowiki></pre>▼
▲ #!/bin/sh
▲ read STRING
'''Interpreter:''' [[Bourne Again SHell]] (bash)
#!/bin/bash▼
read STRING▼
read INTEGER</nowiki></pre>▼
▲ #!/bin/bash
▲ read STRING
|