File: example.pgsh

package info (click to toggle)
proofgeneral 3.5-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,028 kB
  • ctags: 3,934
  • sloc: lisp: 34,438; makefile: 422; sh: 319; perl: 205
file content (35 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is an example shell script for processing 
# with the script management of Proof General.
#
# It demonstrates the usefulness of PG simply for
# sending a pre-defined sequence of commands to
# some command-line interpreter, here /bin/sh.
#
# To adjust this for your needs, edit pgshell.el
# (or copy and rename it).
#
# example.pgsh,v 8.0 2004/04/17 23:40:00 da Exp
#

# What time is it?
date;

# What machine am I on?
uname -a;

# What files are here?
ls 
   -lt;

# Notes:
#
# * Commands have to be terminated by ';'.  Alternative is to write 
#   your own scanner to recognize the start of the next command.
#
# * Undo has no effect, of course, it just navigates in the file.
#