diff options
Diffstat (limited to 'src/app/select_from_file.js')
-rw-r--r-- | src/app/select_from_file.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/app/select_from_file.js b/src/app/select_from_file.js new file mode 100644 index 0000000..3d00c32 --- /dev/null +++ b/src/app/select_from_file.js @@ -0,0 +1,13 @@ +/* + This is an extension for the Krusader filemanager + http://krusader.sourceforge.net/ + + Author: Dirk Eschler <deschler@users.sourceforge.net> + + Reads a file that contains a list of files separated by newline and builds + a list separated by whitespace from it. + + The script is supposed to be used in conjunction with the select_from_file + user action: http://www.kde-files.org/content/show.php?content=54518 +*/ +var filelist = shell("cat " + file).replace(/\n/g, ' ') || ""; |