7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I'm having hard time here with below script. If i run script manually i see expected results but, if i keep this script in cron job i'm getting unexpected results. Unexpected results means even though condition is true,cronjob returning output of else condition.
This script and cronjob... (2 Replies)
Discussion started by: buzzme
2 Replies
2. Shell Programming and Scripting
Hi
I am comparing two files with comm -13 < (sort acc11.txt) < (sort acc12.txt) > output.txt
purpose: Get non matching records which are in acc12 but not in acc11...
TI am getting WRONG output.
Is there any constraints with record length with comm? The above files are the two consective ... (2 Replies)
Discussion started by: vedanta
2 Replies
3. Shell Programming and Scripting
I have been living with this problem with GNU sed v4.1.4 for a long time, but now I really need to figure it out.
When using a list in either an address or a search, the expression is matching lower and upper-case letters. works as it should.
For example, if I run
sed -nr "// p"... (7 Replies)
Discussion started by: nctrader
7 Replies
4. Shell Programming and Scripting
Following script gives different results when triggered from Cron compared to when triggered from command line.
It is not able to assign values to some variables when triggered from cron.
Can any one help? Its a very simple script
Script -
#! /bin/ksh
sFile=$1
sEnv=$2
sWaitFile=$3... (1 Reply)
Discussion started by: sumeet
1 Replies
5. Shell Programming and Scripting
I have two sripts running in bash. The first one uncompresses log files and moves them to a working directory using uncompress -c and > output to new directory. It then creates one control record to assure our search returns a record. It then calls or executes the second script, which is a grep for... (6 Replies)
Discussion started by: altamaha
6 Replies
6. Linux
I am trying to get the number of cpus on a farm of linux boxes (about 100 of them) by 'sshing' to each of them and checking their /proc/cpuinfo file.
So I have a local script localscript.sh on each of those 100 machines which retrieves the number of cpus in it by using its /proc/cpuinfo file.... (1 Reply)
Discussion started by: waavman
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
When I run this script, here's what I get:
Searching ...
found 1111
2222
3333
.....
7777
.....
8888
9999 in 95_test
Search completed.
I expected only to see what number was found in the file, not including the ones not found.
Thanks for your help!
#!/bin/sh (1 Reply)
Discussion started by: SSims
1 Replies
PNPBIOS(4) BSD/i386 Kernel Interfaces Manual PNPBIOS(4)
NAME
pnpbios -- support for embedded devices on the motherboard
DESCRIPTION
The pnpbios driver enumerates embedded ISA devices on the motherboard whose BIOS supports ``Plug and Play BIOS Specification''. It assigns
ISA bus resources (interrupt line, DMA channel, I/O ports, and memory region) to each device and activates it.
If it cannot assign necessary resources to a device without causing conflict with other devices in the system, the device will not be acti-
vated and will be unavailable to programs.
CAVEATS
There is no explicit way to disable individual embedded devices. The pnpbios driver will find all devices reported by the ``Plug and Play
(PnP)'' BIOS and try to activate them all.
There is no way to explicitly assign particular resource to a device. The resource assignment is fully automatic and there is no provision
for manual override.
SEE ALSO
pnp(4)
STANDARDS
Compaq, Phenix, and Intel, Plug and Play BIOS Specification Version 1.0A, May 5, 1994.
Compaq, Phenix, and Intel, Plug and Play BIOS CLARIFICATION Paper for Plug and Play BIOS Specification Version 1.0A, October 6, 1994.
HISTORY
The pnpbios driver first appeared in FreeBSD 4.0.
AUTHORS
The pnpbios driver was written by Mike Smith.
BSD
September 20, 2001 BSD