#!/bin/bash N=8R=10 # reassign to command-line parameters:set -- $N $R seq $2|shuf -n$1
Standard input is empty
1 9 2 6 8 3 7 10
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!