#!/usr/bin/env sh
# This script can be used to send code from an ad buffer to the ad_repl (+win) buffer
# and executed.
#
# To use:
# 1) start the ad repl (eg !ad_repl)
# 2) select the code to be sent in any ad buffer
# 3) execute this script (eg !sendtoRepl)
# get id of ad_repl buffer
replbuf=
# read in selected lines and get length
varin=
nlines=
# send to ad_repl buffer
|
|
# set lines sent as dot
|
|
# execute in repl
|