| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

Count Lines

Page history last edited by Dorai Thodla 12 years, 1 month ago

Count Lines in a File

 

  1. Get the file name from the command line parameter
  2. Open the file and read
  3. Count the number of lines
  4. Print the count

Tiny Projects

Comments (0)

You don't have permission to comment on this page.