i have a string "dfasdfasdfadf"
i want to count the number of times each character is repeated..
For instance, d is repeated 4 times, f is repeated 4 times..
can u give a program in c (1 Reply)
Hi all, I am trying to write a command that can help me count the number of lines in the /etc/passwd file ending in bash.
I have read through other threads but am yet to find one indicating how to locate a specifc word at the end of a line. I know i will need to use the wc command but when i... (8 Replies)
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)
I have a file input.txt which have loads of weird characters, html tags and useful materials. I want to display 35 characters after the word description excluding weird characters like $$#$#@$#@***$# and without html tags in the new file output.txt. Help me. Thanx in advance.
My final goal is to... (11 Replies)
I have a file input.txt which have loads of weird characters, html tags and useful materials. I want to display 35 characters after the word "description" excluding weird characters like $&lmp and without html tags in the new file output.txt. Help me. Thanx in advance. I have attached the input... (4 Replies)
Hello,
I want to add a sentence to "post column" those who are only less than 30 characters.Thank you very much for your help.
"category","title","post"
"Z","Zoo","test 54325 test 45363mc."
"Z","Zen","rs2w3rsj 2d342dg 2d3s4f23 d23423s23h 2s34s2423g ds232d34 2342."
"Z","Zet","test4444... (3 Replies)
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)
I am trying to figure out to find word count of each word from my file
sample file
hi how are you
hi are you ok
sample out put
hi 1
how 1
are 1
you 1
hi 1
are 1
you 1
ok 1
wc -l filename is not helping , i think we will have to split the lines and count and then print and also... (4 Replies)
Hello Friends,
Can somebody assist an issue I am having? I have a separate file with a list of account ids
XXX200B02Y01
XXX200B03Y01
XXX200B05Y01
XXX200B07Y01
XXX200B08Y01
I call the file, and run an egrep against a directory and logfiles
AccountID=$(cat... (2 Replies)
I have this fastq file:
@M04961:22:000000000-B5VGJ:1:1101:9280:7106 1:N:0:86
GGGGGGGGGGGGCATGAAAACATACAAACCGTCTTTCCAGAAATTGTTCCAAGTATCGGCAACAGCTTTATCAATACCATGAAAAATATCAACCACACCA
+test-1
GGGGGGGGGGGGGGGGGCCGGGGGFF,EDFFGEDFG,@DGGCGGEGGG7DCGGGF68CGFFFGGGG@CGDGFFDFEFEFF:30CGAFFDFEFF8CAF;;8... (10 Replies)
Discussion started by: Xterra
10 Replies
LEARN ABOUT DEBIAN
bidentd
BIDENTD(8)BIDENTD(8)NAME
bidentd - Bisqwit's TCP/IP Identification Protocol daemon
SYNOPSIS
bidentd [ -qq | -q | -v | -vv | -vvv ]
DESCRIPTION
Bisqwit's identd is a daemon for the intenet Identification Protocol described by RFC 1413. It supports recursive IP masquerade, where a
machine has Internet access through a masquerading machine which itself has Internet access through another masquerading machine, and so
on. The program requires no setup (no config files required). It is designed to be run from the Internet superserver (inetd).
bidentd requires no command-line arguments, but some are supported though. Explained below.
OPTIONS
The following options control the amount of information that is dumped to the system log. Options may be specified separately or in group:
-qq equals -q -q.
-qq Output nothing to the log.
-q Output only fatal errors to the log.
(no option)
If no option is specified, the log includes one line for every reponse sent in addition to any fatal errors.
-v Be a little more verbose than when no option is specified.
-vv Output everything that -v outputs and additional debug information.
-vvv Output a lot of debug information in addition to everything that -v outputs.
FILES
/proc/net/tcp
This file is required by bidentd operation
/proc/net/ip_masquerade
If masquerade support is desired, this file is needed.
/proc/net/ip_conntrack
This file will be used for masquerading connection tracking if the kernel is from 2.4-series.
AUTHOR
Bisqwit's identd was written by Joel Yliluoma <bisqwit@iki.fi>. Some enhancements and this manual page were added by Antti-Juhani Kai-
janaho.
2002-05-01 BIDENTD(8)