You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
krusader/krusader/select_from_file.js

14 lines
501 B

/*
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, ' ') || "";