I want to get the file which created the error when the find command was run ?
I am wrote a script to mail a list of files whose file size is ge than 0 and returns 0
but wen it finds a folder with only empty files it exits as 1. i need to modify it so that the return for this is also 0 (but it... (1 Reply)
hi,
i have a script that runs on bash and would like to run it on a machine that has csh and bash. the default setting on that machine is csh. i dont want to change my code to run it with a csh shell. is there any way i can run the script (written in bash) on this machine? in other words is there... (3 Replies)
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
Hello,
Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file
i.e I am workiing on a script which will run through crontab and the script will
chekout the code ,zip and copy to the... (3 Replies)
There's a JavaScript file that I call from command line (there's a framework) like so:
./RunDiag.js param1:'string one here' param2:'string two here'
I have a shell script where I invoke the above command. I can run it in a script as simple as this
#!/bin/bash
stuff="./RunDiag.js... (4 Replies)
I am having trouble with bash. I am trying to put a command in an if statement and then compare it to a string.
This works perfectly.
echo $(ipcs | grep Shared | awk '{print $2}')When I put it in an if statement I get some problems.
$ if ; then echo expression evaluated... (10 Replies)
Hi,
I would like to run following code in bash inside a zsh script. (In this case is output unfortunately very different if you run it in zsh).
I tried to put "bash" in front of the code but I obtained following error message "bash: do: No such file or directory
" eve though I merged the whole... (7 Replies)
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
Hi everyone,
I want to kill process through the web, so I create html page with single bottom that run kill command in shell script with CGI.
Here is html code:
<td><form METHOD="GET" action="http://IP:port/cgi_bin/script.cgi" > <input type="submit" value= "Submit" > <INPUT name="q"... (7 Replies)
Discussion started by: indeed_1
7 Replies
LEARN ABOUT DEBIAN
module::install::manifestskip
Module::Install::ManifestSkip(3pm) User Contributed Perl Documentation Module::Install::ManifestSkip(3pm)SYNOPSIS
use inc::Module::Install;
all_from 'lib/Foo.pm';
manifest_skip;
WriteAll;
DESCRIPTION
This module generates a "MANIFEST.SKIP" file for you (using Module::Manifest::Skip) that contains the common files that people do not want
in their "MANIFEST" files. The SKIP file is generated each time that you (the module author) run "Makefile.PL".
You can add your own custom entries at the top of the "MANIFEST" file. Just put a blank line after your entries, and they will be left
alone.
This module also adds 'MANIFEST' to the "clean_files()" list so that "make clean" will remove your "MANIFEST".
OPTIONS
If you don't plan on adding anything to the stock MANIFEST.SKIP and just want "make clean" to delete it, say this:
manifest_skip 'clean';
THEORY
One school of thought for release management is that you never commit your "MANIFEST" file. You just generate it using "make manifest",
right before releasing a module, and then delete it afterwards.
This is good because you never forget to add new files to your "MANIFEST". The only problems are that you always need to generate a
"MANIFEST.SKIP" file, and you need to add "MANIFEST" to your clean_files, or delete it by hand. This module does these things for you.
perl v5.14.2 2011-09-25 Module::Install::ManifestSkip(3pm)