Bash passes flags to shell wrong


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Bash passes flags to shell wrong
# 8  
Old 07-07-2003
One happy customer has left the store

Thanks guys I've cracked it!

Solution: I made a link to /usr/X11R6/bin/convert

Now im calling that link and everything works fine, must be a paths/environment issue, not sure I'll ever truly know but I've sure learned a lot of Bash the last 24 hours.

So thanks for all your thoughts that kept me going. Im kinda glad this problem had me beat because I discovered this place now. Hope you 'have a day' too and that it its filled with an adequate amount of prosperity and happiness Smilie

cheers
Andy
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What's wrong with my bash code?

I want to let sleep 3 in the background and echo $i pkglists="a b c d e f g" f() { local i set -- $pkglists && ((i +=2)) && sleep 3 &;echo $i } f (3 Replies)
Discussion started by: yanglei_fage
3 Replies

2. Shell Programming and Scripting

Bash conditional | getting logic wrong?

I have a file cat <<EOF > /tmp/test Line one Line two Line three EOF Now I am trying to get the exit stat ($?) of 1 if any text is found and 0 if any text is not found using grep, i.e. just reversing the exit status of grep # (snippet 1) this one is not working!!! retval $?... (4 Replies)
Discussion started by: the_gripmaster
4 Replies

3. AIX

find {start} -ls - Two Passes?

I have a &quot;find {start} -ls&quot; command listing all files and dirs in on the whole filesystem. As part of this it lists locations that contain temporary files and, sometimes when executing, it identifies a file but produces an ERROR when trying to list it. ERROR thrown: find: bad status--... (2 Replies)
Discussion started by: apiggott
2 Replies

4. Shell Programming and Scripting

Please help to fingure out what wrong with my tomcat restarting bash script

Hi, I am a nbee to Unix, I have used following script to check my tomcat is running or not and restart if it down. but actually it restart my tomcat each time running even my tomcat still running fine: Script that can run a check and perform an action if the check fails ... (1 Reply)
Discussion started by: quyennd
1 Replies

5. Shell Programming and Scripting

Check if parameter passes in contains certain string

Hi Guys, I am writing a Unix script which accepts a directory path as parameter $1 so something like /user5.data/WA/01 will be passed in. I want to determine if the directory path passed in contains "WA" as above (because then I need to do something specific if it does) What is the... (9 Replies)
Discussion started by: bcunney
9 Replies

6. Shell Programming and Scripting

what's wrong with my bash script?

hi, please point out what's wrong with my script. im feeding it a list containing fqdn, sit should ssh into each and verify that atleast one of its virtual backup ip resolves into one of its virtual hostnames .. anyway the objective shows in the script... however, im having problems in the ... (4 Replies)
Discussion started by: ikk
4 Replies
Login or Register to Ask a Question
Magick-Config(1)					      General Commands Manual						  Magick-Config(1)

NAME
Magick-config - get information about the installed version of ImageMagick SYNOPSIS
Magick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] DESCRIPTION
Magick-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Programmer Interface. EXAMPLES
To print the version of the installed distribution of ImageMagick, use: Magick-config --version To compile a program that calls the ImageMagick Application Programmer Interface, use: cc `Magick-config --cflags --cppflags --ldflags --libs` program.c OPTIONS
--cflags Print the compiler flags that were used to compile libMagick. --cppflags Print the preprocessor flags that are needed to find the ImageMagick C include files and defines to ensure that the ImageMagick data structures match between your program and the installed libraries. --exec-prefix Print the directory under which target specific binaries and executables are installed. --ldflags Print the linker flags that are needed to link with the ImageMagick library. --libs Print the linker flags that are needed to link a program with libMagick. --version Print the version of the ImageMagick distribution to standard output. LICENSE
See http://www.imagemagick.org/script/license.php. AUTHORS
John Cristy, ImageMagick Studio LLC ImageMagick 2 May 2002 Magick-Config(1)