User Profile

Collapse

Profile Sidebar

Collapse
Davo1977
Davo1977
Last Activity: Aug 30 '08, 09:11 AM
Joined: Jun 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Changing the extensions of multiple files using Perl Regex?

    Does anyone know a regular expression that will rename multiple files that have different extensions to have the same extension. For example, you could use this code when several text files exist in a directory but have slightly different extensions such as .txt,. TXT, or text. This expression should show how to rename them to all have .txt extensions.


    I understand i will nedd [] the character class so it contains a hypen,...
    See more | Go to post

  • Davo1977
    replied to Analysing text files with Perl
    in Perl
    Analysing text files with Perl

    Analysing text files to obtain statistics on their content

    You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows:

    1) When run, the program should check if an argument has been provided. If not, the program should prompt for, and accept input of, a filename from the keyboard.

    ...
    See more | Go to post
    Last edited by numberwhun; Jun 25 '08, 02:16 PM. Reason: again, please use code tags

    Leave a comment:


  • Davo1977
    started a topic Analysing text files with Perl
    in Perl

    Analysing text files with Perl

    Analysing text files to obtain statistics on their content

    You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows:

    1) When run, the program should check if an argument has been provided. If not, the program should prompt for, and accept input of, a filename from the keyboard.

    2) The filename, either passed as an argument...
    See more | Go to post
    Last edited by numberwhun; Jun 25 '08, 12:33 PM. Reason: Please use code tags
No activity results to display
Show More
Working...