From aeec3960f5eea9c0e044ccafb5f55a99800df3ec Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sun, 8 Jan 2023 09:16:44 +0800
Subject: [PATCH] :! support for .sh files
---
en/links/index.html | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/en/links/index.html b/en/links/index.html
index 026d942a..a41380c4 100644
--- a/en/links/index.html
+++ b/en/links/index.html
@@ -98,16 +98,15 @@ Socks proxy
commands
--
-
:![command line]
-The command line could be a ".js" file as executable with arguments. Ex. ":!s youtube keyword" could invoke "s.js"(if file exists) executable with the whole string as arguments.
-
--
-
:p [width in milliInch]x[height] [top margin]:[right margin]:[bottom margin]:[left margin]
+
- :![command line]
+The command line could be a ".js", ".sh" or other executable with arguments. Ex. ":!s youtube keyword" could invoke "s.js" executable with the whole string as arguments ("s.sh" or "s" if file exists); ":! youtube keyword" would invoke the file ".js" or ".sh" as executable.
+
+For regular (non-js) executables, the standard output of the command line will be treated as lines of web urls.
+
+- :p [width in milliInch]x[height] [top margin]:[right margin]:[bottom margin]:[left margin]
Generate/Print PDF file in the "/sdcard/Download" folder, all units are milliinch.
Ex. ":p x" or ":px" for screen width and infinite height (as long vector screenshot).
-":p x[height]" or ":px[height]" for screen width.
-
+":p x[height]" or ":px[height]" for screen width.
"i:" internal links: