GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCRIPTSE(1) FreeBSD General Commands Manual SCRIPTSE(1)

scriptse - make scripts for se

scriptse [ -d ] < script_file | se [ & ]

Scriptse reads standard input, and writes standard output. It is a simple filter which turns newlines ('\n') into carriage returns ('\r') for se(1). This allows se to be run from a prepared script. Se can then be fired off into the background, if you wish.

After each carriage return, scriptse adds an ASCII DEL character ('\177'). This is so that command lines which fail will be erased, and the next command can then be executed. If it did not, command lines would get concatenated together, and they would simply continue to fail. Ultimately, the editor would run out of input buffer and start to contiunuously ring the bell on the terminal. With the DEL character, each command line is executed on its own.

Scriptse takes one option, -d. If this option is used, scriptse will not add the ASCII DEL after each carriage return. This is useful for program which want to turn newlines into carraige returns.

If you do use a script, either sit back and watch it run, or redirect the output into a file (or /dev/null, if you are confident).

se(1).

It is rather difficult to interrupt se when it is running, so editor scripts should write their changed buffer to a new file, in case something goes wrong.

Does no checking for any of se's control characters. If you put control characters into a script, you are taking your chances.
local

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.