Sponsored Content
Full Discussion: Complex if then else
Top Forums Shell Programming and Scripting Complex if then else Post 302847139 by elilmal on Monday 26th of August 2013 11:15:51 AM
Old 08-26-2013
i would like to have a way to increase the number of files scanned without writing them all
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Complex use with awk

Hi , I have file named docs.txt The content of the file look like this: DOC disk location Size ======= ===== ============= ========= TXT A /dev/dm-1 10 TXT B /dev/dm-2 10 BIN C ... (3 Replies)
Discussion started by: yoavbe
3 Replies

2. UNIX for Dummies Questions & Answers

Complex Commands

I need to ideas for some complex commands for a script file. Any ideas would be greatly appricated (2 Replies)
Discussion started by: trob
2 Replies

3. Shell Programming and Scripting

Complex Script

hey... i had a big problem with my professor i have 3 simple archives in.txt -> had all timestamps of users logon (100lines) ex. 111111 222222 333333 out.txt -> had all timestamps of users logof (100lines) ex. 111113 222225 333332 commands.txt... (9 Replies)
Discussion started by: beandj
9 Replies

4. Shell Programming and Scripting

Complex query

A file whose location i am not aware of contains the below text <url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(FAILOVER=on)(ADDRESS=(PROTOCOL=TCP) (HOST=ngm2sn1p2-vip.mybank.net)(PORT=4001))(ADDRESS=(PROTOCOL=TCP)(HOST=ngm2sn2p2-vip.mybank.net)... (1 Reply)
Discussion started by: mohtashims
1 Replies

5. Shell Programming and Scripting

Complex Compare

Hi All, File1.txt File2.txt Above are the two input file's: Always I use to get three rows for File1.txt File1.txt (fixed width) 2nd line i will get date and 3rd record i will get a number. File2.txt (Pile delimeter) will contains 'n' number of records were header & footer is... (4 Replies)
Discussion started by: kmsekhar
4 Replies

6. Shell Programming and Scripting

complex requirement

i have a requirement to search a pattern1 and once the pattern1 is found i have to go up and search pattern2 and if pattern2 is found i have to search down for pattern3 and pattern4. once this cycle is compelted, again i have to search pattern1 and pattern2,3,4 i am able to do this by opening... (9 Replies)
Discussion started by: tnvanathy23
9 Replies

7. Shell Programming and Scripting

Help with Complex Awk.

Hi, I have a file. In this file when ever the word "ABC" occurs at position from 25 and 34 I would like to replace the value at postion 100 to 5 for the first 1000 rows only. I have written the following Awk command. nawk 'substr($0,25,9)=="ABC" {print $0}' filename The above command... (4 Replies)
Discussion started by: pinnacle
4 Replies

8. Shell Programming and Scripting

Complex variable

If I need the output as below, what syntax I should use. I use only korn shell. =========In file =========================== #!/usr/bin/ksn P1=cat P2=dog P3=bat for i 1 2 3 do echo $P$i # <---------- This line is the problem I face. What I should use. done ========= End of file... (5 Replies)
Discussion started by: kkakarot
5 Replies
discover.conf(5)						File Formats Manual						  discover.conf(5)

NAME
discover.conf -- configuration file format for discover(1) Description Discover looks for configuration files in a configuration directory, containing a number of files. These define the system buses that should be scanned by default, those that should never be scanned, and the URLs for hardware data files beyond the local copy provided with the software. The file format is XML; the DTD is provided with the Discover software, and can be used for informational or validation purposes. Examples Establishing default buses to scan <?xml version="1.0"?> <!DOCTYPE conffile SYSTEM "conffile.dtd"> <conffile> <busscan scan="default"> <bus name="ata"/> <bus name="pci"/> <bus name="pcmcia"/> <bus name="scsi"/> <bus name="usb"/> </busscan> </conffile> A more complex example <?xml version="1.0"?> <!DOCTYPE conffile SYSTEM "conffile.dtd"> <conffile> <busscan scan="default"> <bus name="ata"/> <bus name="pci"/> <bus name="pcmcia"/> <bus name="usb"/> </busscan> <!-- My ancient SCSI card locks up when probed --> <busscan scan="never"> <bus name="scsi"/> </busscan> <data-sources> <data-source url="http://www.example.com/discover/xfree86.xml" label="Updated XFree86 hardware information"> </data-sources> </conffile> Authors Josh Bressers, John R. Daily, and G. Branden Robinson developed the current implementation of Discover for Progeny Linux Systems. The Linux implementation of the system-dependent interfaces is derived from detect, by MandrakeSoft SA. See Also discover(1) discover.conf(5)
All times are GMT -4. The time now is 09:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy