~ubuntu-branches/ubuntu/precise/nodejs/precise

« back to all changes in this revision

Viewing changes to .pc/nodejs-repl-shebang.patch/bin/node-repl

  • Committer: Bazaar Package Importer
  • Author(s): Jérémy Lal
  • Date: 2010-08-20 11:49:04 UTC
  • mfrom: (7.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100820114904-lz22w6fkth7yh179
Tags: 0.2.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env node
2
 
 
3
 
puts = require("sys").puts;
4
 
 
5
 
puts("Welcome to the Node.js REPL.");
6
 
puts("Enter ECMAScript at the prompt.");
7
 
puts("Tip 1: Use 'rlwrap node-repl' for a better interface");
8
 
puts("Tip 2: Type Control-D to exit.");
9
 
puts("Type '.help' for options.");
10
 
 
11
 
require('repl').start();
12
 
 
13
 
// vim:ft=javascript