summaryrefslogtreecommitdiffstats
path: root/bridge/share
diff options
context:
space:
mode:
authorkrebs <krebs@fuerkrebs>2011-10-13 13:20:02 -0400
committerkrebs <krebs@fuerkrebs>2011-10-13 13:20:02 -0400
commit6caf0d1c502ba9eb6d41aa9a80cb8a350164846d (patch)
tree28237066c93656fe75b2fcc7fb1eec0a2b800888 /bridge/share
parentfa7213811c2c77b9f2097c11c8a072265d8a3ac2 (diff)
parent1cff2a9d548336ddcd8a2d732ed2cd348c8e6b79 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'bridge/share')
-rw-r--r--bridge/share/doc/bridge/README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/bridge/share/doc/bridge/README.md b/bridge/share/doc/bridge/README.md
index 07f5eb6d..77c62374 100644
--- a/bridge/share/doc/bridge/README.md
+++ b/bridge/share/doc/bridge/README.md
@@ -1,5 +1,3 @@
-# //bridge
-
Bridge is a tool to connect your favourite editor and interpreter (or
similar) for maximum profit.
@@ -20,6 +18,13 @@ similar) for maximum profit.
# mark that stuff
# press return
+ # paste some stuff into the session
+ bridge paste my_fancy_interpreter '1 + 2 + 4^M'
+ # (note that ^M is carriage return obtained by pressing ^V^M AKA C-V C-M)
+
+ # or use bridge as a sink in your pipeline
+ echo 2^20 | bridge paste my_fancy_interpreter
+
# you can use tab-completion everywhere (if installed)
@@ -49,5 +54,6 @@ Hint #3: you could also use ~/.profile or similar
## install bridge into some usr-like hierarchy [advanced]
- tar -C //bridge -c . | tar --exclude=./README.md -C ~/opt -v -x
+ tar -C //bridge -c . |
+ tar --exclude=./README.md -C ~/opt -v --keep-newer-files -x