Sponsored Content
Top Forums Shell Programming and Scripting test with two conditions (OR) Post 302262938 by chebarbudo on Saturday 29th of November 2008 04:39:32 PM
Old 11-29-2008
Thanks Christoph Spohr and Franklin52,
Both your proposals work fine.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

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

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

Prefixing test case methods with letter 'test'

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

4. Shell Programming and Scripting

Errors in if conditions with to many OR conditions

Hi ALL I have a script where in i need to check for several values in if conditons but when i execute the script it throws error such as "TOO MANY ARGUMENTS" if then msg="BM VAR Issue :: bmaRequestVAR=$bmaRequestVAR , nltBMVAR=$nltBMVAR , bmaResponseVAR=$bmaResponseVAR ,... (10 Replies)
Discussion started by: nikhil jain
10 Replies

5. Shell Programming and Scripting

Shc : trying to test functionality "test" compiling but can not execute

I am testing shc to see if it would help with my need. Im at a point where Im trying to compile and test the "test.ksh" file that comes in the tar ball : shc-3.8.9> shc -v -r -f test.ksh shc shll=ksh shc =-c shc =exec '%s' "$@" shc = shc opts= shc: cc test.ksh.x.c -o test.ksh.x... (7 Replies)
Discussion started by: popeye
7 Replies

6. Shell Programming and Scripting

Shell test conditions

Are these shell test conditions in any man pages? I do not see them in bash or ksh man pages. The tests below are test conditions provided by the shell: -b file = True if the file exists and is block special file. -c file = True if the file exists and is character special file. -d file... (3 Replies)
Discussion started by: cokedude
3 Replies
IXPIDE(4)						   BSD Kernel Interfaces Manual 						 IXPIDE(4)

NAME
ixpide -- PCI IDE disk controllers driver SYNOPSIS
ixpide* at pci? dev ? function ? flags 0x0000 DESCRIPTION
The ixpide driver supports the ATI Technologies IXP IDE controller, and provides the interface with the hardware for the ata(4) driver. The 0x0002 flag forces the ixpide driver to disable DMA on chipsets for which DMA would normally be enabled. This can be used as a debugging aid, or to work around problems where the IDE controller is wired up to the system incorrectly. HARDWARE
The supported IDE controllers are o ATI SB200 o ATI SB300 o ATI SB400, Parallel ATA o ATI SB400, Serial ATA o ATI SB700, Serial and Parallel ATA SEE ALSO
ata(4), atapi(4), intro(4), pci(4), pciide(4), wd(4), wdc(4) CAVEATS
Some SB700 controllers can hang under load when Native IDE mode is selected in the system BIOS, but work fine in AHCI mode. BSD
October 16, 2008 BSD
All times are GMT -4. The time now is 01:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy