scriptse man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SCRIPTSE(1)							   SCRIPTSE(1)

NAME
       scriptse - make scripts for se

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

DESCRIPTION
       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 charac‐
       ter, 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).

SEE ALSO
       se(1).

CAVEATS
       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	 some‐
       thing goes wrong.

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

				     local			   SCRIPTSE(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net