$mystring = "name:blk:house::";
print "$mystring\n";
@s_format = split(/:/, $mystring);
for ($i=0; $i <= $#s_format; $i++) {
print "index is $i,field is $s_format";
print "\n";
}
$size = $#s_format + 1;
print "total size of array is $size\n";
i am expecting my size to be 5, why is it... (5 Replies)
Hi,
I have some output in the form of:
#output:
abc123
def567
hij890
ghi324
the above is in one column, stored in the variable x ( and if you wana know about x... x=sprintf(tolower(substr(someArray,1,1)substr(userArray,3,1)substr(userArray,2,1)))
when i simply print x (print x) I get... (7 Replies)
Hi! I'm doing bash shell scripting and would like to know if bash had something similar to perl's split function? Ultimately, I want to split two strings (delimeter = '.') and compare each of their values. Thus, I figured putting them in an array would be easiest.
So i.e.:
String 1:... (5 Replies)
Hello,
Hello,
I use the following command to split a file:
split -Number_of_Lines Input_File MyPrefix_
output is
MyPrefix_a
MyPrefix_b
MyPrefix_c
......
Instead, how can I get numerical values like:
MyPrefix_1
MyPrefix_2
MyPrefix_3
...... (2 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (0 Replies)
Hi... I have a question regarding the split function in PERL.
I have a very huge csv file (more than 80 million records). I need to extract a particular position(eg : 50th position) of each line from the csv file. I tried using split function. But I realized split takes a very long time.
Also... (1 Reply)
my @d =split('\|', $_);
west|ACH|3|Y|LuV|N||N||
Qt|UWST|57|Y|LSV|Y|Bng|N|KT|
It Returns d as 8 for First Line, and 9 as for Second Line . I want to Process Both the Files, How to Handle It. (3 Replies)
hi all,
i have large file. where i need the split the files into two files. can anyone tell me what is the command for that?
Unix OS :HP Unix.
Thanks,
arun. (2 Replies)
Discussion started by: arun888
2 Replies
LEARN ABOUT NETBSD
sf
SF(4) BSD Kernel Interfaces Manual SF(4)NAME
sf -- Adaptec AIC-6915 10/100 Ethernet driver
SYNOPSIS
sf* at pci? dev ? function ?
Configuration of PHYs may also be necessary. See mii(4).
DESCRIPTION
The sf device driver supports the Adaptec AIC-6915 10/100 Ethernet chip. This chip is found on several Adaptec Ethernet boards:
o ANA-62011 Single port 10/100 64-bit
o ANA-62022 Dual port 10/100 64-bit
o ANA-62044 Quad port 10/100 64-bit
o ANA-62020 Single port 100BASE-FX 64-bit
o ANA-69011 Single port 10/100 32-bit
SEE ALSO arp(4), ifmedia(4), mii(4), netintro(4), pci(4), ifconfig(8)HISTORY
The sf driver first appeared in NetBSD 1.6.
AUTHORS
The sf driver was written by Jason R. Thorpe <thorpej@NetBSD.org>.
BUGS
The sf driver does not support the IPv4/TCP/UDP checksum function of the AIC-6915.
The sf driver does not support the VLAN function of the AIC-6915.
BSD June 18, 2001 BSD