08-21-2015
EDIT: :doh: nevermind to much of math/conditition issues here atm, this is just one of those times i wish one could delete one owns post as long noone else has replied to the thread.
Last edited by sea; 08-21-2015 at 01:53 AM..
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a file of the following format.
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user... (5 Replies)
Discussion started by: nua7
5 Replies
2. UNIX for Dummies Questions & Answers
Here's my work of testing whether a number input is perfect or not..
echo Enter a number
read no
i=1
ans=0
while
do
if
then
ans='expr $ans + $i'
fi
i='expr $i + 1'
done
if
then
echo $no is perfect
else
echo $no is NOT perfect
fi (12 Replies)
Discussion started by: Cyansnow
12 Replies
3. AIX
I've got an aix-box somewhere on the network and a PC on my desk. Nothing fancy so far.
The PC is made dual-boot:
- windowsXP with putty & winSCP
or
- slackware 13 with xfce4 installed.
The aix-box runs DB2 v8.2 and I've installed db2top to monitor the database.
db2top is a character... (0 Replies)
Discussion started by: dr_te_z
0 Replies
4. Shell Programming and Scripting
Hi All,
I have a text file which looks like this:
computer programming
systems engineering
I want to get rid of these square brackets and also the text that is inside these brackets. So that my final text file looks like this:
computer programming
systems engineering
I am using... (3 Replies)
Discussion started by: shoaibjameel123
3 Replies
5. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
6. UNIX for Dummies Questions & Answers
I want to print only the lines that meet the criteria : "worde:" and "wordo;"
I got this far:
sed -n '/\(*\)\1e:\1o;/p;'
But it doesn't quite work.
Can someone please perfect it and tell me exactly how its a fixed version/what was wrong with mine?
Thanks heaps, (1 Reply)
Discussion started by: maximus73
1 Replies
7. Shell Programming and Scripting
Hi
Input File A
L006 AL01 0 (OCK)
L006 A006 0 (OCK)
L011 AR11 1 (NLOCK)
Input File B
L006 AL01 0 (OCK)
L006 A006 0 (OCK)
Need Egrep Command for perfect Match
Thanks (4 Replies)
Discussion started by: asavaliya
4 Replies
8. Shell Programming and Scripting
I have to find last delimiter in each line of a file and store the value after the last '/' in a variable in ksh script...Pls Pls help me:(The file is as shown below:
/opt/apps/cobqa/apps/abadv/bind/advc0007.bnd
/opt/apps/cobqa/apps/abbrio/bind/naac6115.bnd... (5 Replies)
Discussion started by: bhavanabahety
5 Replies
FATM(4) BSD Kernel Interfaces Manual FATM(4)
NAME
fatm -- device driver for Fore PCA200E ATM interfaces
SYNOPSIS
device fatm
device utopia
device atm
options NATM
DESCRIPTION
The fatm device driver supports the FORE (now Marconi) PCA200E ATM interface cards. The driver interfaces with the natm(4) framework,
netgraph(4) and HARP. It provides only PVC services. Signalling, ATMARP, ILMI and other higher layer protocols are implemented using
netgraph(4) or HARP.
For configuring the card for IP see natmip(4). The following sysctls are recognized by the driver additionally to those handled by
utopia(4):
hw.atm.fatmN.stats
Returns a device specific statistic list of uint32_t statistic counters.
hw.atm.fatmN.istats
Returns a list of uint32_t with internal driver statistics.
hw.atm.fatmN.retry_tx
If this is set packets are stuffed back into the interface's send queue when the cards transmit queue is found to be full. They are
transmitted later. If this is not set the packets are dropped. It may be useful to set this if only UBR traffic is sent.
hw.atm.fatmN.debug
(Only if debugging enabled.) These are debugging flags. See src/sys/dev/fatm/if_fatmvar.h for the possible flags.
The driver supports the media options sdh, noscramb and unassigned (see utopia(4)).
DIAGNOSTICS
fatm0: <FORE PCA200E> mem 0xd5800000-0xd59fffff irq 9 at device 9.0 on pci0
SEE ALSO
natm(4), natmip(4), utopia(4)
AUTHORS
Harti Brandt <harti@FreeBSD.org>
BUGS
These cards can CBR shape a single VCC only. It is currently possible to request more than one CBR connection. In this case all the timing
will be wrong. See hatm(4) for a better card.
BSD
May 15, 2003 BSD