answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: Program in perl to compute the number of lines in a file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you write a program to read a set of scores from a file and compute the average and print it on the screenby c plus plus?

Yes. Use cin and/or getline to read the formatted data into an array, compute the average then output the result using cout.


What is a filterexplain any five filters in UNIX system?

A filter is any program that takes some arbitrary input and reduces it by some rules. Examples would be: head - list the first 25 lines of a file tail - list the last 25 lines of a file cut - remove columns of a file grep - search file for content sort - sort the file


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


How do you add a program to a file folder?

How do you add a program to a file folder?


Looking at a program file name and file extension how can you tell if the program?

Files are named in the method: filename.extension When the file is a program, the extension is 'exe' so if a file called 'hello' was a program, it would be called: hello.exe


What option would allow the head command to display the last 5 lines in a file in Linux?

The 'head' command can only deal with the start of the file, not the end. If you want X number of lines at the end of the file then use the 'tail' command. tail -5 filename will list the last 5 lines of the contents of filename.


What is a mbd file?

The file extension of .mbd was used by a web based eCommerce development program sold by Maximizer call eCBuilder. Maximizer discontinued the program a number of years ago (currently it's 2012).


What is an installation file?

It is a file that installs a program.


What extension is associated with program file?

Program file extensions simply identify the type of program. For example, an executable program will have a file extension of .exe, and some music files will have the file extension of .mp3


Example of data program dependency in file system?

-File structure is defined in the program code.


Looking at a program file name and file extension how can you tell if the program is a MMC snap- in or command program?

Tools executed from a command line have an .exe file extension and MMC Snap ins have .msc file extension.


What can you use to duplicate a file or program?

Right-click the file/program, click "Copy", right-click where you want the duplicated file/program to go, and click "Paste". ------ Or to duplicate a program you can use Installrite http://www.epsilonsquared.com/