ex13.pp 234 B

1234567891011
  1. Program Example13;
  2. { Program to demonstrate the Shell function. }
  3. Uses linux;
  4. begin
  5. { This will send the output of 'ls -l' to the file ls.out }
  6. { thanks to the shell's redirection functionality }
  7. Shell ('ls -l >ls.out')
  8. end.