Sponsored Content
Top Forums Shell Programming and Scripting Finding files with filename format Post 302467284 by adshocker on Thursday 28th of October 2010 10:20:28 PM
Old 10-28-2010
thank you all for your help.

just curious, what does the [^0-9] mean by appearing before and after?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

finding duplicate files by size and finding pattern matching and its count

Hi, I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern. Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies

2. Shell Programming and Scripting

Filename from splitting files to have the same filename of the original file with counter value

Hi all, I have a list of xml file. I need to split the files to a different files when see the <ko> tag. The list of filename are B20090908.1100-20090908.1200_CDMA=1,NO=2,SITE=3.xml B20090908.1200-20090908.1300_CDMA=1,NO=2,SITE=3.xml B20090908.1300-20090908.1400_CDMA=1,NO=2,SITE=3.xml ... (3 Replies)
Discussion started by: natalie23
3 Replies

3. Shell Programming and Scripting

finding files with unicode chars in the filename

I'm trying to check-in a repository to svn -- but the import is failing because some files waaaay down deep in some graphics-library folder are using unicode characters in the file name - which are masked using the ls command but picked up when piping output to more: # ls -l 1914* -rwxrwxr-x 1... (2 Replies)
Discussion started by: mshallop
2 Replies

4. UNIX for Dummies Questions & Answers

finding and moving files based on the last three numerical characters in the filename

Hi, I have a series of files (upwards of 500) the filename format is as follows CC10-1234P1999.WGS84.p190, all in one directory. Now the last three numeric characters, in this case 999, can be anything from 001 to 999. I need to move some of them to a seperate directory, the ones I need to... (5 Replies)
Discussion started by: roche.j.mike
5 Replies

5. Shell Programming and Scripting

Finding files before a certain date with predefined format

Guys, I have an input file such as below I would like to know how i would be able to find items created before 2011-10-01 Appreciate any expert advice. Thanks. (3 Replies)
Discussion started by: aismann
3 Replies

6. Shell Programming and Scripting

Finding max number in filename and opening it

Hi, I have files named as energy.dat.1 energy.dat.2 energy.dat.3 ... energy.dat.2342 I would like to find the file with maximum number in the filename (ex. energy.dat.2342) and open it. Would you please share your expertize in writing the script? Thanks in advance. (8 Replies)
Discussion started by: rpd25
8 Replies

7. UNIX for Dummies Questions & Answers

Finding filename based on filecontent

Hi, I have been trying , to find the filename based on some pattern present inside the file My command is as follows: filename=`grep -l 'Pattern' path/*.txt ` Its strange that it works some times, but doesn't print anything some times . But my if test -f $filename is passing all the... (2 Replies)
Discussion started by: Prashanth19
2 Replies

8. Shell Programming and Scripting

To find files having filename containing specific date format

Hi, I have a requirement to create a shell script(tcsh) that finds all the files in a directory having the file name containing date format "YYYYMMDDHHMM" and extract the date time part ""YYYYMMDDHHMM" for further processing. Could you please have any idea on this. trades_201604040000.out... (6 Replies)
Discussion started by: gopal.biswal
6 Replies

9. Shell Programming and Scripting

Finding the part of a filename

Hi, I am writing an ebuild for Gentoo Linux operating system. Writing an ebuild is about Bash scripting where I am a newbie. So, my ebuild must find a part of a specific filename. Such a filaname my look like this: libvclient_release_x64.so.740and I must to find the number at the and of... (18 Replies)
Discussion started by: csanyipal
18 Replies

10. Shell Programming and Scripting

Finding files with newlines in filename

I want to use grep to find files that have newlines in the filename. For example, I have a directory where I create three files: $ touch file1 $ touch "file 2" $ touch "file > with > newlines" $ find . ./file 2 ./file1 ./file?with?newlinesI now want to pipe the find output into grep and... (4 Replies)
Discussion started by: Ralph
4 Replies
RTF2RTF(1)						      General Commands Manual							RTF2RTF(1)

NAME
rtf2rtf - programs to postprocess the raw RTF generated by the mapping files SYNOPSIS
rtf2rtf [options] .. DESCRIPTION
This manual page documents briefly the rtf2rtf commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page for rtf2rtf. rtf2rtf is a program to postprocess the raw RTF generated by the mapping files. It is used by other programs in sgml-tools (v1), and usually normal user does not need to use this program directly. Following is quoted from the README in the source tree. (Begin Quotes) I'm not proud of this code. It's a hack foisted upon a hack, nested within another hack or two. It sort of works well enough for my pur- poses (generating WinHelp .RTF files for my documents), but it could definitely use a redesign/rewrite. It started as a simple pertubation of the html2html filter, but got ugly very quickly... I shamelessly blame the RTF format for most of the hackery here -- RTF is not a _language_ like LaTeX or ROFF -- it's just a file format. So, we can't rely on RTF to do even simple things like "insert a paragraph break here only if the previous token was not also a paragraph break. Since the SGML front end has no conditional processing capabilities, multiple blank likes in the SGML get translated to multiple para breaks in the RTF. That's why we use a "lex" filter (rtf2rtf) to postprocess the raw RTF generated by the mapping files. Again: I offer this to the Linuxdoc community with the hopes that it will be useful to others and that someone else can help flesh out the missing pieces. What? Missing pieces? Yes, recall that I say it works "well enough for my purposes". The replacement files (general, map- ping) started out like as the latex replacement files. Much of them still _are_ the latex replacement files. I only converted those parts that are actually used by my documents. Your documents may require more of the files to be translated to RTF. Since I'm using these mappings for actual documentation, I plan on maintaining this backend, so please send me any improvements -- I'll coordinate with Greg to make sure they get into the the next official release. (End Quotes) OPTIONS
The programs does not support normal command line option. SEE ALSO
For a complete description, see the README file in the source archive. AUTHOR
rtf2rtf was written by Steve Tynor (tynor@atlanta.twr.com) December 1995. This manual page was written by Taketoshi Sano <sano@debian.org>, for the Debian GNU/Linux system (but may be used by others). RTF2RTF(1)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy