Hey guys! This is my first post, as im new here :S
I have a simple problem for a big program.
We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has to do with the syntax, as the person who made it is not a linux pro. I don't know MUCH about shell scripts, but I'm pretty sure I know where the error lies.
Our Script:
The Error:
What I think the problem is:
Thank you for ALL of your help!
Hey fellow bit pushers,
I have been seeing an odd problem on a few of my systems and was wondering if any of you have seen it on your systems and possibly know why it happens.
We have a custom model script for a printer on our systems. This model script is just a standard ksh script... (2 Replies)
Hi all...
here is my question: in the following, will the `cd $ref_ntp` work?
for i in `cat $fic`
do
{
echo " "
echo ================$i=============================
OS=`$CMD -s $i "uname"`
case $OS in
SunOS)
ref_ntp=/ref/ntp/SUN
;;
HP-UX)
ref_ntp=/ref/ntp/HP
;;
esac
... (2 Replies)
:D my first question is how can envoke filename expansion from within a shell script.. forinstance if i execute the script and it asks for a specific directory that i would like to cd to, how can i get the script to use the same file name expension as the command line..
my second question is how... (3 Replies)
I want to run a shell script in such a manner so that if i will run that script on one place than changes related to that will reflect on all the servers in which i want.Is it possible to write such kind of script?Please respond me as early as possble because it is very urgent for me. (2 Replies)
Can you help me with my code?
I wrote a Java program and ran it in gdb, the debugger said that :
(gdb) run handhelditems 1 1000
Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000
Program received signal SIGPWR, Power fail/restart. (2 Replies)
Hi
I have an input to a file. I want the script to return it formatted
the input is a number, say ,
1234567895 and the output should be 21 43 65 87 59 ,ie, the pair of two digits should be reversed.
How can I do this using a shell script? (1 Reply)
Hi All,
this small script is written to recognize user input character.. it is in small case .. upeer case or is a number... but when i input first capital letter say A.. it always gives small character.... what is the problem.
#!/bin/bash
echo "Enter the character"
read a
case $a in
)... (2 Replies)
Hi all,
Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code--
Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
I am new in shell script.I want to write a shell script to read username and password from file and compare it with the username and password which is entered by the GUI application. (1 Reply)
Hey guys im new to the whole linux and scripting community and am trying to get what (I think) should be a simple script to work.
I understand pretty much everything up to line 20, which is where im getting the following errors:
line 20: '
line 21: -le: command not found
Any help or... (5 Replies)
Discussion started by: xburningphoenix
5 Replies
LEARN ABOUT SUSE
clean-binary-files
CLEAN-BINARY-FILES(1) User Commands CLEAN-BINARY-FILES(1)NAME
clean-binary-files - remove a third party binaries (JARs) from an upstream archive
SYNOPSIS
clean-binary-files {[-f {-, instructions_file}], [-e exclusion_file] [-l]} [-a archive_file] [-d custom_jar_map] [-n] [-p] [-s]
OPTIONS -f The instructions file, specifying which files to keep and which to remove
-e The exclusions file, specifying special binary files that are to be preserved, or non-binary files that are to be removed.
-l Only list instructions (to put in instructions file), do not delete anything.
-a Archive file on which actions will be performed, as opposed to current directory
-d A custom jar map file (has priority over the generic one).
-n No symlinks (i.e. only clean jars, don't run build-jar-repository afterwards)
-p Preserve original file names (-p to build-jar-repository)
-s Silent mode. Won't output commands during cleanup
-f The instructions file, specifying which files to keep and which to remove
-e - The exclusions file, specifying special binary files that are to be preserved, or non-binary files that are to be removed.
-l - Only list instructions (to put in instructions file), do not delete anything.
-a - Archive file on which actions will be performed, as opposed to current directory
-d - A custom jar map file (has priority over the generic one).
-n - No symlinks (i.e. only clean jars, don't run build-jar-repository afterwards)
-p - Preserve original file names (-p to build-jar-repository)
-s - Silent mode. Won't output commands during cleanup
EXAMPLES
Suppose there is a vanilla tarball abc-1.tar.gz with some binary files (jars) in it. In the source repo, we would want a clean copy without
any jars. We can use the scripts to achieve this:
To generate an instructions file:
clean-binary-files -e <exclusion file> -l -a abc-1.tar.gz > instructions
This creates an 'instructions' file, which contains info on what stays and what goes.
Then, one can run:
clean-binary-files -f instructions -n -a abc-1.tar.gz
This would create abc-1-clean.tar.gz for uploading into jpp/fedora/etc. repositories with no binary (jar) files.
Alternatively, if you have a vanilla tarball, you can clean and create symlinks in it's place all at once by:
clean-binary-files -e <exclusion file> -d <custom_jar_map> -a abc-1.tar.gz
Note: If the -a <file> is not given to clean-binary-files(1), all actions are performed on current directory.
SEE ALSO
Regular Manual Pages
check-binary-files(1), create-jar-ks(1), jpackage-utils(7)
Documentation
Further reading should be found in clean-binary-files.txt located in your standard documentation directory.
Original mail is here:
https://www.zarb.org/pipermail/jpackage-discuss/2005-November/009158.html
AUTHOR
Written by Deepak Bhole
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
clean-binary-files (jpackage-utils) 1.7.5 February 2009 CLEAN-BINARY-FILES(1)