02-03-2014
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, Member or professional
need help how to count characters by line of file
Example of the file is here
cdr20080817164322811681txt
cdr20080817164322811txt
cdr20080817164322811683txt
cdr20080817164322811684txt
I want to count the characters by line of file . The output that I... (4 Replies)
Discussion started by: ooilinlove
4 Replies
2. Shell Programming and Scripting
I have a file that I need to count the number of "Y"s in the file, but just the "Y"s that fall between certain columns. Like:
file1:
1234567890123456789012345
BBBBBBYBBBBYBBYBBYBBYBBB
I want to count the 'Y's between 17 and 21 = 2 "Y"s
Thanks (12 Replies)
Discussion started by: jbt828
12 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I like to know how to get the count of each character in a given word. Using the commands i can easily get the output. How do it without using the commands ( in shell programming or any programming)
if you give outline of the program ( pseudo code )
i used the following commands
... (3 Replies)
Discussion started by: itkamaraj
3 Replies
4. UNIX for Dummies Questions & Answers
to delete the duplicate characters in a file I used this code
cat file.txt|tr -s ""
tell the other ways using sed
command to count of duplicate characters
thanks:) (0 Replies)
Discussion started by: tsurendra
0 Replies
5. Shell Programming and Scripting
Hi i have data like
abchd 124 ldskc aattggcc
each separated by tab space i want to count number of characters in 4th column and print it in new column with tabspace for every line can anyone help me how to do it.
Thanks. (3 Replies)
Discussion started by: bhargavpbk88
3 Replies
6. UNIX for Dummies Questions & Answers
Hi everyone, and thanks after all
I'm a biologist and i have to extract information from one text. The text is something like this
1023 A A 56 0 cc...,,,,..gg..Cc.c,,c..CC..,,
1024 T T 86 0 ..,,,..aaAA..,,aAA,,a,,A,,a
1025 G G 125 0 ... (5 Replies)
Discussion started by: beajorrin
5 Replies
7. Shell Programming and Scripting
What I'm trying to accomplish. I receive a Header and Detail file for daily processing. The detail file comes first which holds data, the header is a receipt of the detail file and has the detail files record count. Before processing the detail file I would like to put a wrapper around another... (4 Replies)
Discussion started by: pone2332
4 Replies
8. Shell Programming and Scripting
I want count number of characters / find the length of the 'wc -l' output
This is the command
bash-3.2$ gzcat /home/sid/file1.dat |wc -l
830752
So final out I want is 6 i.e lenght of 830752
I tried with awk
bash-3.2$ gzcat /home/sid/file1.dat |wc -l | awk '{print length ($0)... (3 Replies)
Discussion started by: sidnow
3 Replies
9. Shell Programming and Scripting
Hello,
I have been working on Awk/sed one liner which counts the number of occurrences of '|' in pipe separated lines of file and delete the line from files if count exceeds "17".
i.e need to get records having exact 17 pipe separated fields(no more or less)
currently i have below :
awk... (1 Reply)
Discussion started by: ketanraut
1 Replies
10. Shell Programming and Scripting
Need to count consecutive characters in a string and give the output as below
i/p=aaaabbcaa
o/p=a4b2c1a2 (10 Replies)
Discussion started by: prasanna2166
10 Replies
LEARN ABOUT OPENSOLARIS
pcan
pcan(7D) Devices pcan(7D)
NAME
pcan - Cisco Aironet 802.11b wireless NIC driver
DESCRIPTION
The pcan wireless NIC driver is a multi-threaded, loadable, clonable, GLDv3-based STREAMS driver. It supports the pccard and PCI/MiniPCI
cards with the Cisco Aironet 802.11b chipset. For pccard, the driver works in both SPARC and x86 (32-bit/64-bit) modes. For PCI/MiniPCI
card, the driver works in 32-bit x86 mode only.
DRIVER CONFIGURATION
The pcan driver supports 802.11b data rates of 1, 2, 5.5 and 11 (Mbits/sec). The default is 11.
The pcan driver supports BSS networks (also known as "ap" or "infrastructure" networks) and IBSS networks (also known as "ad-hoc" net-
works). For authentication type, the pcan driver supports the "open" (or "open-system") mode. For encryption type, only WEP is currently
supported. You perform configuration and administration tasks using the dladm(1M) and wificonfig(1M) utilities.
FILES
/dev/pcan* Special character device.
/kernel/drv/pcan 32-bit ELF kernel module (x86).
/kernel/drv/amd64/pcan 64-bit ELF kernel module (x86).
/kernel/drv/sparcv9/pcan 64-bit ELF kernel module (SPARC).
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SPARC, x86 |
+-----------------------------+-----------------------------+
SEE ALSO
dladm(1M), wificonfig(1M), attributes(5), gld(7D)
802.11b Standard for Wireless Local Area Networks (WLANs) - IEEE
SunOS 5.11 24 Jan 2007 pcan(7D)