From 3cedd80dd671e69f7ee1452837433e10f0f39cf5 Mon Sep 17 00:00:00 2001 From: Sean O'Rourke Date: Wed, 1 Sep 2010 19:44:36 -0700 Subject: [PATCH] Mention sepl command. --- sepia.texi | 4 ++++ sepl | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sepia.texi b/sepia.texi index e8ddb98..152bd32 100644 --- a/sepia.texi +++ b/sepia.texi @@ -453,6 +453,10 @@ with @code{sepia-complete-symbol}. Sepia also provides a number of other ways to evaluate pieces of code in Perl, and commands to process buffer text using the inferior process. +Finally, Sepia comes with the @kbd{sepl} program, a standalone REPL that +can be run from the command-line, and provides many features of the +Emacs-based REPL. + @menu * Shortcuts:: * Debugger:: diff --git a/sepl b/sepl index c211ad8..44b9f86 100755 --- a/sepl +++ b/sepl @@ -1,7 +1,22 @@ #!/usr/bin/env perl use Sepia::ReadLine; - +use Getopt::Long; + +sub usage +{ + print STDERR < \&usage, + version => sub { + print STDERR "Sepia version $Sepia::VERSION.\n"; exit }, + ) or usage; repl(); print "\n"; -- 2.11.4.GIT