Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-17-2003, 07:00 AM   #1
LQ Newbie
Registered: May 2003
Posts: 18

Rep: Reputation: 0
Wink shell script programming


I'm realy new at Linux shell programming, but have many years experience in C++ etc and some big troubles - it seems thats not easy. ok, what I want do is to call one shell script from the another one. I got some error regarding the command line proccessing:

script 1 (

#! /bin/sh
# switches:
# -ibck in background
/opt/rar/rar_static $3 -s -rr8 -cl -m5 -hp$4 $1.$2.01.rar /data/pictures/_index/bmp/$1/$1.$2.*.bmp

script 2 (

. compress 1999 103 a password

But I got message that the RAR can't find the *.bmp files. Than I called the alone for debugging like:

sh -x 1999 103 a password

and got the same result with the output:

'/opt/rar/rar_static $3 -s -rr8 -cl -m5 -hp$4 $1.$2.01.rar' /data/pictures/_index/bmp/$1/$1.$2.*.bmp

I'm realy suprised about the quotes. May someone can give me some advice.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about shell-script programming GSX Programming 11 11-22-2005 04:58 PM
creating shell script programming using KNOPPIX.. help cinderella Linux - Newbie 4 12-20-2004 07:12 PM
shell script programming problem newbie_ken Programming 5 08-16-2004 11:19 AM
How can I check wether a file is empty in Linux by using shell script programming ??? Bassam Linux - General 2 02-26-2004 01:01 AM
How to delete a line from a text file with shell script programming Bassam General 1 01-28-2004 08:51 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:10 AM.

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