Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
script outputting cant find anything wrong with the script either... :
#!/bin/sh
#count execution script
time=0
while
do
if
then
time=`expr $time + 1`
if
then
echo "The current tick is 100"
fi
fi (2 Replies)
hi all here is a very simple question.. i want to count the number of columns using awk..my file looks like this:
1,2
1,2
1,2
1,2
1,2
1,2
1,2
1,2
i want to count number of columns and i so far i have:
awk 'BEGIN {IFS=","} END {print NF}' data > data1
i am getting 1... (3 Replies)
Hello,
I am new to shell scripting and I need your help.
I have found similar scripts in the forum but I need further assistance.
I am building a script to use hourly in cron to mailx me if the number of files in a path is less than e.g 100
I have started with the following:
#!/bin/sh... (2 Replies)
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
I am trying to remove lines in a variable(nidlist) that exceed a certain charecter count(in this case 7).
I am trying to incorparate the function that removes the lines that exceed 7 into this piece of code
nidlist=$(print $nidlist |tr ';' '\n' | sort | uniq | tr '\n' ';')
Thank... (4 Replies)
So my program is not working and I keep changing it to figure out why. So I have two questions, can I do tracing similar to bash, and also what is wrong with this.
The idea is simple, I want to count "word" lengths, with the loose definition of word not being a space, tab, or newline. Here is... (11 Replies)
Discussion started by: Riker1204
11 Replies
LEARN ABOUT NETBSD
ne
NE(4) BSD Kernel Interfaces Manual NE(4)NAME
ne -- NE2000 and compatible Ethernet cards device driver
SYNOPSIS
ISA boards
ne0 at isa? port 0x280 irq 9
ne1 at isa? port 0x300 irq 10
ne* at isapnp?
MCA boards
ne* at mca? slot ?
PCI boards
ne* at pci? dev ? function ?
PCMCIA
ne* at pcmcia? function ?
acorn32
ne* at podulebus?
amiga
ne* at zbus0 # AriadneII, X-surf
amigappc
ne* at zbus0 # AriadneII, X-surf
atari
ne0 at mainbus0 # EtherNEC on Atari ROM cartridge slot
evbarm
ne0 at obio? addr 0x0e000200 intr 5 # on-board Asix AX88796
evbsh3
ne0 at mainbus? # Realtek RTL8019AS
x68k
ne* at intio0 addr 0xece300 intr 249 # Nereid Ethernet
ne* at intio0 addr 0xeceb00 intr 248 # Nereid Ethernet
neptune0 at intio0 addr 0xece000 intr 249 # Neptune-X
neptune1 at intio0 addr 0xece400 intr 249 # Neptune-X at alt. addr.
ne* at neptune? addr 0x300
DESCRIPTION
The ne device driver supports NE2000 and compatible (including NE1000) Ethernet cards. While the original NE2000 is designed for ISA bus,
the compatible Realtek 8019 chip is widely used on various local busses and ne driver also supports such devices on various machines.
MEDIA SELECTION
The Realtek 8019 (ISA, ISAPnP, some PCMCIA) and Realtek 8029 (PCI) NE2000-compatible Ethernet chips include support for software media selec-
tion. If one of these chips is detected by the driver, the list of supported media will be displayed.
For all other chips supported by the ne driver, media selection must be performed either via card jumper settings or by vendor-supplied con-
figuration programs.
DIAGNOSTICS
ne0: where did the card go? The driver found the card, but was unable to make the card respond to complete the configuration sequence.
SEE ALSO ifmedia(4), intro(4), isa(4), isapnp(4), mca(4), pci(4), pcmcia(4), ifconfig(8)BSD April 3, 2010 BSD