02-03-2006
Thanks...where can I find out more about the flags? I noticed bhargav used -f instead of -s...
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Discussion started by: Max89
1 Replies
2. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies
3. Shell Programming and Scripting
Hi,
I would like to ask if someone know how to test a files if exist the file is a nfs mount ufsdump archive file..
i used the test operator -f -a h almost all test operator but i failed
file1=ufs_root_image.dump
|| echo "files doesn't exist && exit 1
the false file1 is working but... (0 Replies)
Discussion started by: jao_madn
0 Replies
4. Shell Programming and Scripting
Hi,
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
Discussion started by: royalibrahim
5 Replies
5. Shell Programming and Scripting
Hi,
I have a problem where i have to hit multiple URL that are stored in a text file (input.txt) and save their output in different text file (output.txt) somewhat like :
cat input.txt
http://192.168.21.20:8080/PPUPS/international?NUmber=917875446856... (3 Replies)
Discussion started by: mukulverma2408
3 Replies
6. Shell Programming and Scripting
Hi,
I try to test 3 files,
#!/bin/bash
if ;
then
echo "ok"
else
echo "ko"
It works partially, but I want that the output tell me "ok" only if the three files doesn't exist. :b: (9 Replies)
Discussion started by: Arnaudh78
9 Replies
LEARN ABOUT CENTOS
wand-config
Wand-Config(1) General Commands Manual Wand-Config(1)
NAME
Wand-config - get information about the installed version of the Magick Wand
SYNOPSIS
Wand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
DESCRIPTION
Wand-config prints the compiler and linker flags required to compile and link programs that use the Wand Application Programmer Interface.
EXAMPLES
To print the version of the installed distribution of Wand, use:
Wand-config --version
To compile a program that calls the Wand Application Programmer Interface, use:
cc `Wand-config --cflags --cppflags --ldflags --libs` program.c
OPTIONS
--cflags
Print the compiler flags that were used to compile libWand.
--cppflags
Print the preprocessor flags that are needed to find the Wand C include files and defines to ensure that the Wand 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 Wand library.
--libs Print the linker flags that are needed to link a program with libWand.
--version
Print the version of the Wand distribution to standard output.
COPYRIGHT
See http://www.imagemagick.org/script/license.php
AUTHORS
John Cristy, ImageMagick Studio LLC
Wand 2 May 2002 Wand-Config(1)