answersLogoWhite

0


Best Answer

in linux

wc -l filename

will count the lines

and

wc

will count the letters

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

===========> (.)

oo

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program to count the number of characters and words in the line?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Algoritm source code for write a c-program to count lines words and characters in a given text?

yyu5uty


DO spaces count as character count tool on twitter?

Character Count Tool is an online tool that lets you easily calculate and count the number of characters, words, sentences and paragraphs in your text.


How many words are 3000 characters?

3000 Characters is averaged between 2,000 words to 2,980 words.(allwordphone.com/count-words-characters.htm)


How many words in 5000 characters?

It really depends on the length of words you're using but generally 1 word is equal to 5 characters. So 5,000 characters would be roughly 1,000 words. Most word processing software has a word count feature which would give you an exact number.


What does wc mean in ubuntu?

wc is the word count utility. wc <file name> would return four values number of lines, number of words, number of characters, filename of the file processed


Are number of characters the same as number of words?

No.


When counting words for a novel is does A or the count as a word or is it based on five characters one word idea?

In word count calculations for novels, both "a" and "the" count as one word. Each word, regardless of its length or commonality, is counted as one towards the total word count.


How does Microsoft Word count the words you type?

For Microsoft 2007, To find word count, go to the top of your screen, find a tab that says "Review". In the first big box on the left, one of the buttons says "Word Count." Click on it. A screen should come up titled "Word Count: Statistics". It lets you know how many pages you currently have, words, characters (with or without spaces), paragraphs, lines, non-Asian words, and Asian/Korean words you have in your document. This is particularly helpful if you need to have word count for your paper, and this is easier than having to cont all the words one-by-one. Instead, the program does it for you.


How do you see the characters count in OpenOffice 3.0.1 as you type?

You can't get a 'live' character count - but you can get one once you've finished typing.Save the document, and keep it open. Click on Tools and select Word count. It will tell you how many words (and characters) are in the document.


What is the difference between words and characters?

I've always wanted to know this and I finally realized the answer. Characters include all the symbols, numbers and letters. Including spaces is up to you. Example: Symbols~, . / < > ? :" ;'{} [] !@#$%^&*()_+- Numbers 0123456789 Letters: abcdefghijklmnopqrstuvwxyz Count each and every symbol, number and letter. Hey dude! with spaces=9 characters without=8 characters Words, I think you know what it is right? Hey dude! words= 2


What is summing the number of words in a document?

Word Count


How do you count the number of words in a story?

you can count them all one by one or usally you can find it on the internet.