Sponsored Content
Full Discussion: File name extensions
Top Forums Shell Programming and Scripting File name extensions Post 10078 by thurrock on Wednesday 7th of November 2001 12:05:23 PM
Old 11-07-2001
Bug thanks

fantastic - it works!!! - you are a genius!!!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Truncate multiple file extensions

Hi, I have files with names like file1.txt.txt.txt.txt and file2.txt.txt.txt.txt.txt............ (random infinite number of .txt exist). how to truncate (mv) their names to ones with single .txt extension like file1.txt and file1.txt ? In other words, how to extract the filename upto first... (12 Replies)
Discussion started by: prvnrk
12 Replies

2. Shell Programming and Scripting

Batch changing file extensions

We are moving from an OpenVMS server to a Unix server and I have a problem with ftp'ing files. When I ftp the VMS server from the Unix server, I need to "mget" some files, for example "mget test_file*.txt;". The semicolon is necessary because OpenVMS has multiple versions of the file (eg... (5 Replies)
Discussion started by: cdines
5 Replies

3. Shell Programming and Scripting

File extensions in a dir

Hi All, Is there a way to list all file extensions in a directory and its recursive dirs? Thanks (5 Replies)
Discussion started by: ganga.dharan
5 Replies

4. UNIX for Dummies Questions & Answers

Find all the unique file extensions

Hi How can i find the unique list of file extensions in a folder/subfolders e.g. MAIN/ a.txt b.txt a.clas a.java b.class a.txt.112 c.12.ram.jar i just need to get the below out irrespective of file being present in folder or subfolders txt clas java (5 Replies)
Discussion started by: reldb
5 Replies

5. Shell Programming and Scripting

Checking file extensions

I am trying to store file with certain file extensions to list but having some problems. Here is a part of the code set fryLst = "" set fxtLst = "" foreach f ($AfullNameLst) set fname = $f:r set fext = $f:e if ("$fext" == ".ry") set fryLst = "$fryLst $f" if ("$fext" == ".xt")... (2 Replies)
Discussion started by: kristinu
2 Replies

6. Shell Programming and Scripting

Checking file extensions

I'm in csh and have a list of file names, example set Lst = "file1.ry file2.ry file3.ry file4.ry" I want to check if all the extensions are ry. Is they are, I want to do something. (1 Reply)
Discussion started by: kristinu
1 Replies

7. Shell Programming and Scripting

rename file, add extensions

Hi Guys, I have files named myfileaa,myfileab,myfileac,myfilesad.... till myfileav. Now i needs to rename all these files to myfileaa.txt ,myfileab.txt,myfileac.txt. Please help me how to do the same. Thanks in advance..!!! (4 Replies)
Discussion started by: jaituteja
4 Replies

8. Shell Programming and Scripting

Search for file extensions in the given directories

Hey guys, I'm lost... I need to make a script that will work in this way: ./script.sh -e sh /usr/bin /home/student this script will result in this output: amuFormat.sh /usr/bin gettext.sh /urs/bin perfect.sh /home/student the parameter -e <ext> gives you which... (2 Replies)
Discussion started by: Miki1579
2 Replies

9. Shell Programming and Scripting

Remove comments from file with specific file name extensions

Hello Unix board community, I have to program a shell script, but I am a complete noob so I hope I get some help here. The assignment is as follows: The program removes all comments regardless of formatting or language from files with specific file name extensions (php, css, js, ...).... (3 Replies)
Discussion started by: TheZeusMan
3 Replies

10. Shell Programming and Scripting

Comparing file names with different extensions

Hello, I need some help. I have files in one and the same directory, but with different extensions, like this: file1.IN file2.IN file3.IN file1.OUT file2.OUT Apparently some files with OUT extension can be missing. So I want to compare *.IN and *.OUT, ignoring the extension and get result... (3 Replies)
Discussion started by: apenkov
3 Replies
Perl::Critic::More(3)					User Contributed Perl Documentation				     Perl::Critic::More(3)

NAME
Perl::Critic::More - Supplemental policies for Perl::Critic SYNOPSIS
perl -MCPAN -e'install Perl::Critic::More' perlcritic -theme more lib/Foo.pm AFFILIATION
This file has no functionality, but instead is a placeholder for a loose collection of Perl::Critic policies. All of those policies will have an "Affiliation" section announcing their participation in this grouping. DESCRIPTION
This is a collection of Perl::Critic policies that are not included in the Perl::Critic core for a variety of reasons: o Experimental Some policies need some time to work out their kinks, test usability, or gauge community interest. A subset of these will end up in the core Perl::Critic someday. o Requires special dependencies For example, some policies require development versions of PPI (or some other CPAN module). These will likely end up in the Perl::Critic core when their dependencies are fulfilled. o Peripheral to Perl For example, the "Editor::RequireEmacsFileVariables" policy is metacode. These are not part of Perl::Critic's mission. o Special purpose For example, policies like "CodeLayout::RequireASCII" designed to scratch itches not felt by most of the community. These will always remain in a Perl::Critic supplement instead of in the core. All of these policies have the theme "more" so they can be turned off as a group via .perlcriticrc by adding this line: theme = not more The special purpose ones may be part of the "notrecommended" theme. Avoid these via: theme = not notrecommended Sorry about the double-negative... See "CONFIGURATION" in Perl::Critic for details on how to interact with themes. SEE ALSO
Perl::Critic Perl::Critic::Bangs - Andy Lester's fantastic list of code pet peeves Perl::Critic::Lax - RJBS' more-lenient versions of some core Perl::Critic policies parrot - the parrot team has developed a few specialized Perl::Critic policies of their own AUTHOR
Chris Dolan <cdolan@cpan.org> The included policies may have other authors -- please see them individually. This distribution is controlled by the Perl::Critic team. If you want to add a policy to this collection, check out our Subversion repository and mailing lists at <http://perlcritic.tigris.org>. COPYRIGHT
Copyright (c) 2006-2008 Chris Dolan This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. perl v5.16.3 2014-06-10 Perl::Critic::More(3)
All times are GMT -4. The time now is 07:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy