02-01-2012
so if i want to search between 24th and 30th jan , I create two files one dated 23rh jan and one dated 31st jan n search ?
how do i created these files with touch ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to check if a zip code is valid, using a variable that stores the zipcode. I am not sure how I would do this in a script. I know that simply checking for the numerical range of the number will not work, because '1' would be '00001' in zip code format. I know when I am in shell, I can use... (5 Replies)
Discussion started by: userix
5 Replies
2. Shell Programming and Scripting
Hi,
I have writtena script that will recursivly go into subdirecotries and report out what files there are in there that have not been accessed over various date ranges.
I do this using a number of find commands:
find . -path './.snapshot' -prune -o -type f -atime -8
find... (4 Replies)
Discussion started by: littleIdiot
4 Replies
3. Shell Programming and Scripting
Hi,
Please anyone help to achive this using perl or unix scripting .
This is date in my table 20090224,based on the date need to check the files,If file exist for that date then increment by 1 for that date and check till max date 'i.e.20090301 and push those files .
files1_20090224... (2 Replies)
Discussion started by: akil
2 Replies
4. Shell Programming and Scripting
Hi, I need to create weekly files from daily records stored in individual monthly filenames from 1999-2010. my sample file structure is like the ones below:
daily record stored per month:
199901.xyz, 199902.xyz, 199903.xyz, 199904.xyz ...199912.xyz
records inside 199901.xyz (original data... (4 Replies)
Discussion started by: ida1215
4 Replies
5. Shell Programming and Scripting
hi all,
Say i have a range like 0 - 1000 and i need to split into diffrent files the lines which are within a specific fixed sub-range. I can achieve this manually but is not scalable if the range increase.
E.g
cat file1.txt
Response time 2 ms
Response time 15 ms
Response time 101... (12 Replies)
Discussion started by: varu0612
12 Replies
6. Shell Programming and Scripting
Hi,
I have a text file, which I am trying to parse.
File contents:
BEG
Id Job1
Id Stage1
1
EN
Id Job2
Id Stage2
BEG
Id2 Job3
Id Stage4
2
EN
I have to process the data in this between every BEG and EN. so I am trying to restrict the range and inside every... (1 Reply)
Discussion started by: Kulasekar
1 Replies
7. Shell Programming and Scripting
I have a file (let say file B) like this:
File B:
A1 3 5
A1 7 9
A2 2 5
A3 1 3
The first column defines a filename and the other two define a range in that specific file. In the same directory, I have also three more files (File A1, A2 and A3). Here is 10 sample lines... (3 Replies)
Discussion started by: Bastami
3 Replies
8. Programming
Hi Guys,
I am having below tables used in oracle
bal
ID BALANCE BAL_DATE
1 -11.71 01-JAN-05 00.00.00
1 -405.71 02-JAN-05 00.00.00
1 -760.71 03-JAN-05 00.00.00
ref_table
PRODUCT EFF_FROM_DATE EFF_TO_DATE TYPE MIN_AMT MAX_AMT CHARGE
12 01-JAN-05 00.00.00 01-JAN-06... (6 Replies)
Discussion started by: rohit_shinez
6 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am a noob and need some help.
I am trying to find files created between a date range.
For Example:
These are files in directory.
-rw-r--r-- 1 user staff 6 May 8 09:43 file1.txt
-rw-r--r-- 1 user staff 6 May 8 09:43 file2.txt
-rw-r--r-- 1 user... (8 Replies)
Discussion started by: r@v!7*7@
8 Replies
10. Shell Programming and Scripting
Hi There, Good Day !!
I have txt file containing data in the below format. There are many lines, here i have mentioned for example.
cat remo.txt
2/3/2017 file1
3/4/2016 file2
6/6/2015 file5
1/1/2018 file3
4/3/2014 file4
-
-
-
I need to grep the file names for given date rage... (11 Replies)
Discussion started by: kumar85shiv
11 Replies
rlog(1) General Commands Manual rlog(1)
NAME
rlog - print log messages and other information on RCS files
SYNOPSIS
[options] file ...
DESCRIPTION
prints information about RCS files. Files ending in are RCS files; all others are working files. If a working file is given, tries to
find the corresponding RCS file first in directory then in the current directory, as explained in rcsintro(5).
prints the following information for each RCS file: RCS file name, working file name, head (i.e., the number of the latest revision on the
trunk), access list, locks, symbolic names, suffix, total number of revisions, number of revisions selected for printing, and descriptive
text. This is followed by entries for the selected revisions in reverse chronological order for each branch. For each revision, prints
revision number, author, date/time, state, number of lines added/deleted (with respect to the previous revision), locker of the revision
(if any), and log message. Without options, prints complete information. The options below restrict this output.
Options
recognizes the following options:
Print information about revisions
whose check-in date and time fall within the ranges given by the semicolon-separated list of dates. A range of the
form or selects the revisions that were deposited between d1 and d2 (inclusive). A range of the form or selects all
revisions dated d or earlier. A range of the form or selects all revisions dated d or later. A range of the form d
selects the single, latest revision dated d or earlier. The date/time strings d, d1, and d2 are in the format
explained in co(1). Quoting is normally necessary, especially for and Note that the separator is a semicolon.
Print only RCS file name, working file name, head, access list, locks, symbolic names, and suffix.
Print information about locked revisions.
If the comma-separated list lockers of login names is given, only the revisions locked by the given login names are
printed. If the list is omitted, all locked revisions are printed.
Ignore RCS files that have no locks set; convenient in combination with or
Print information about revisions given in the comma-separated list
revisions of revisions and ranges. A range rev1-rev2 means revisions rev1 to rev2 on the same branch, means revi-
sions from the beginning of the branch up to and including rev, and means revisions starting with rev to the head of
the branch containing rev. An argument that is a branch means all revisions on that branch. A range of branches
means all revisions on the branches in that range.
Print only the name of the
RCS file; convenient for translating a working file name into an RCS file name.
Print information about revisions
whose state attributes match one of the states given in the comma-separated list states.
Print the same as
plus the descriptive text.
Prints information about revisions checked in by users
whose login names appearing in the comma-separated list logins. If logins is omitted, the user's login is assumed.
prints the intersection of the revisions selected with the options and
EXAMPLES
Print the names of all RCS files in the subdirectory named that have locks:
Print the headers of those files:
Print the headers plus the log messages of the locked revisions:
Print complete log information:
Print the header and log messages of all revisions checked in after 1:00am on December 25th, 1991:
Print the header and log messages of those revisions that were created between 10:00am and 2:00pm on July 4th, 1992:
DIAGNOSTICS
The exit status always refers to the last RCS file operated upon, and is 0 if the operation was successful, 1 if unsuccessful.
AUTHOR
was developed by Walter F. Tichy.
SEE ALSO
ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsmerge(1), rcsfile(4), rcsintro(5).
rlog(1)