search for: scriptnames

Displaying 20 results from an estimated 75 matches for "scriptnames".

Did you mean: scriptname
2009 Apr 24
7
Get only script name with shell script
Hi all, I wrote shell script and put it under the /usr/local/bin/ directory. I use echo $0 for get script name but it has printed "/usr/local/bin/<scriptname>" but i want to only print <scriptname> How can i do this ? Thanks all for help. -- Iyi calismalar.Basarilar... Semih Gokalp Istanbul/Turkiye
2006 Jan 10
2
Is there a best practice in dealing with javascript dependencies?
As I''ve begun to work with several javascript libraries out there, I''ve run in to some dependency issues that must have been solved by others before. For example, I''m trying to implement the jstree library from Laurie Harper in to BundledResource. Breaking the ''jstree'' javascript from the sample html out in to its own file caused it to fail
2008 Nov 28
2
ManageSieve and invalid scriptname
...): sieve-storage: Active sieve script symlink /home/admsis/miguel/.dovecot.sieve is broken: invalid scriptname (points to .sieve/phpscript). Well as you can see, a file without the .sieve is not welcome :-( I checked the RFC and there is no requirement for a .sieve file extension when considering scriptnames. http://tools.ietf.org/html/draft-martin-managesieve-12#section-1.6 Is this a misplaced restriction or it really should be enforced for any reason? I hope that this can be tolerable, or I will have to rename a lot of scripts and remove all hardcoded "phpscript" strings from avelsieve :...
2019 Jul 14
2
New improved version of nut-report script
Hi Roger and thanks! I have attached my nut report from the new script (sans journal). I saw nothing that looked like a problem with the report save the sections <scriptname> "Cannot access <scriptname>. Perhaps this is from the missing journal? On 7/14/2019 7:52 AM, Roger Price wrote: > On Tue, 9 Jul 2019, Charles Lepple wrote: > >> Can you please run this script
2019 Jul 14
4
New improved version of nut-report script
Roger, I get 4.3.8(1)-release There was good reason, BTW, for the script to NOT fine the journal script on my machine. I had not downloaded it yet. On 7/14/2019 9:06 AM, Roger Price wrote: > On Sun, 14 Jul 2019, David White wrote: > >> ... I saw nothing that looked like a problem with the report save the >> sections <scriptname> "Cannot access <scriptname>.
2008 Jul 29
1
Removing script file
Colleagues, (Running R 2.7.0) I have a script that I want to delete as it completes execution. The penultimate line of the script (before the quit command) is: file.remove("Scriptname") The script is executed as: R --no-save < Scriptname In OS X and Linux this is successful and returns: > > file.remove("x") > [1] TRUE and the file is deleted In Windows XP,
2018 Dec 14
2
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On 12/14/18 4:16 PM, Richard W.M. Jones wrote: > This implements something like a readonly 1MB disk reading as zeroes: > > nbdkit sh script=- <<'EOF' > case "$1" in > get_size) echo 1M ;; > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; > *) exit 2 ;; > esac > EOF > > Use of "-" is analogous to reading
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
Hello guys Yesterday i started do configure my Mustek Powermust650 with nut using the megatec_usb driver. Everything works fine except for the mailing when something happens. My upsmon looks like this: MONITOR powermust650 at localhost 1 local controller master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /root/upsmailer POLLFREQ 10 POLLFREQALERT 5 HOSTSYNC 15
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
The following code works fine as long as I don''t try to run it through the distributed server. It doesn''t get there... It runs fine out of delayed_job, runs fine if called directly. But if ''distrib'' is true (the default) it runs right up to the call to the server and right past it without getting to the server or raising any errors. Am using Ruby 1.8.6.26 ,
2006 May 31
1
about init.d script
Hi folks, someone using Debian? I need the init script, if you please :) Thanks for your support Regards Andrea
2002 Mar 11
4
svm in e1071 package segment fault in redhat 7.2
Hi, Guys I run one simple R script like this library(e1071) data(iris) attach(iris) model <- svm (Species~., data=iris) The R version is 1.4.1. The OS is standard redhat 7.2. Then I got a segmentation fault like this (run through R CMD BATCH scriptName) /usr/local/R/lib/R/bin/BATCH: line 54: 28513 Done ( echo "invisible(options(echo = TRUE))"; cat
2010 Nov 02
2
get the scripname within the executed myscript.r
Dear R-users! Is there a way to obtain the name of the executed myscript.r, i.e. when cmd> rscript myscript.r is executed? (The name of the script in this case is "myscript.r") Here is the explanation of why I would like to get that: Why: I have prepared a set of scripts (decompose_data.r, plot_with_higher_resolution.r, plot_3D.r, etc.) placed in a root directory at one place. I
2016 Nov 23
2
Active sieve script symbolic link doesn't update when changed.
While setting up sieve on my email server I mistakenly setup a symlink (~/sieve/myfilter.svbin > ~/.dovecot.sieve) but I think that that should have been (~/sieve/myfilter.sieve > ~/.dovecot.sieve). I have fixed the mistake but dovecot/sieve still throws an error saying that the symlink still links to the wrong file. I have made sure the symlink is fixed (it links to
2019 Jul 09
5
New User Questions - With Belkin USB
On Jul 9, 2019, at 12:22 PM, David White wrote: > > So I guess I am wondering if this is related to my problem. I have no idea how the blazer_usb driver works. For the most part, NUT drivers ending in “_usb” (including blazer_usb) do not need a serial device node in /dev. They use libusb to talk directly to the UPS. (If you can reliably read the UPS status with upsc, then the connectivity
2019 Jul 14
0
New improved version of nut-report script
On Sun, 14 Jul 2019, David White wrote: > ... I saw nothing that looked like a problem with the report save the > sections <scriptname> "Cannot access <scriptname>. Perhaps this is from the > missing journal? I'm wondering if the =~ operator in Bash is working as expected. What does command echo $BASH_VERSION report? Roger
2019 Jul 14
0
New improved version of nut-report script
A couple of different issues with the reporting script. First the password masking is not working as intended: I have three different passwords in my ups.users file and only the last one is masked. Here's the first part of the resulting report where I've replaced the unmasked passwords with <PASSWORD-n>. NUT configuration 2019-07-14 16:58:15 UTC ###########
2007 Jul 24
0
scripts with the dialog command
Is there a way to send stdin information to a script that is using the dialog command? I tried echo -e "\n\n\n" | scriptname and this had no effect. I tried scriptname << EOF EOF and that had no effect. I am looking for a method that calling dialog within a script will obey stdin. Anyone have an idea. Jerry
2012 Apr 11
1
quickly setting /etc/rc levels
Hi all, I vaguely recall being able to auto set various /etc/rc levels based on /etc/init.d/scriptname. I am about to create the sym links by hand but wondering if any one has a shortcut to auto set the links? Thanks in advance, - aurf
2018 Dec 15
0
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On Fri, Dec 14, 2018 at 04:31:32PM -0600, Eric Blake wrote: > On 12/14/18 4:16 PM, Richard W.M. Jones wrote: > >This implements something like a readonly 1MB disk reading as zeroes: > > > >nbdkit sh script=- <<'EOF' > > case "$1" in > > get_size) echo 1M ;; > > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; > >
2018 Dec 14
0
[PATCH nbdkit 1/3] sh: Implement inline scripts.
This implements something like a readonly 1MB disk reading as zeroes: nbdkit sh script=- <<'EOF' case "$1" in get_size) echo 1M ;; pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; *) exit 2 ;; esac EOF Use of "-" is analogous to reading passwords from stdin. --- plugins/sh/nbdkit-sh-plugin.pod | 17 ++++++++++ plugins/sh/sh.c