LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2003, 03:26 PM   #1
steltner
LQ Newbie
 
Registered: May 2003
Posts: 18

Rep: Reputation: 0
shell script problem


Hallo together,

I had an idea and I got a problem:

script 1 (compress.sh):
-----------------------------
#! /bin/sh
/opt/rar/rar_static $3 -s -rr8 -cl -hp$4 -m5 ../index/rar/$1/$1.$2.01.rar ../index/bmp/$1/$1.$2*.bmp

script 2 (compress_all.sh):
---------------------------------
#! /bin/sh
sh -x compress.sh 1999 103 a password

I get a message that RAR can't find the source files to add in the archiv. With the -x I have the output on screen, I'm surprised about the quotes (!!??)

`/opt/rar/rar_static $3 -s -rr8 -cl -hp$4 -m5 ../index/rar/$1/$1.$2.01.rar` ../index/bmp/$1/$1.$2*.bmp

May someone give me an advice.

Joern
joern@steltner.com
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
A problem about a shell script jpan Linux - General 2 01-19-2005 06:14 PM
Problem in shell script Kumar Programming 4 04-27-2004 08:48 AM
Shell-Script Problem? x4v013 Slackware 7 09-17-2003 12:15 AM
shell script problem steltner Linux - General 19 05-18-2003 02:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration