It's possible to use "find" to search a file that was modified for example between 5/10/2004 and 7/11/2005? How can i do this? I saw there is option -mtime, but i don't understand how to use it in this case. Thanks (4 Replies)
Hi All,
I wanted to edit the date value located at /var/opt/CPsuite-R65/fw1/conf/local.scv. The date entry looks like this :
:Signature (">=20100717")
How can I update the date value by 1 day every other day while preserving the margins of the whole file in a shell script? I have... (5 Replies)
Hi,
I would like to search the pattern based on the date like "2010/08/15". I tried using / in the file giving /<<pattern>>. when i tried this it turns to /2010/+8, but not going to the pattern what ever i want.
This is how the data in the file.
INFO | jvm 1 | 2010/05/26 13:30:33... (5 Replies)
Hi guys
I've got a file with this line inside.
200,2010,318,1000,4.377,70.9,.835,.592,.243,-.438,0,881
The line always begins with number 100 or number 200, follow the year, the day in the year, the hour, and other stuff
Here, the important fields are, 2, 3 and 4.
-Filed 2 --> year... (4 Replies)
Hi All
I have searched the possibility of this options everywhere but am unable to find it in any forum.
I have a tar file inside which there are n number of files and i dont know them. I need to grep a word inside the tar file and need to know in which file the word resides.
> cat a... (2 Replies)
Dear Unix Gurus,
I am new to shell scripting and in the process of learing.
I am trying to find whether a file name has today's date in MMDDYYYY format.
I am using the following code and it doesn't seem like working.
#!/usr/bin/ksh
today=$(date '+%m%d%Y')
echo today: $today
file=`find... (4 Replies)
I have a set of folders inside which there may be n number of files. All those files are in .gz extension. Now I need to search all the files without gunzip them. Also I need to read the content of a file if the search pattern is found without gunzip them. (3 Replies)
In KSH, I am pasting 2 almost identical files together and each one has a date and time on each line. I need to determine if the first instance of the date/time is greater than the 2nd instance of the date/time. If the first instance is greater, I just need to echo that line.
I thought I would... (4 Replies)
Hello,
Iam a newbies to Shell scripting. Iam trying to replace the date inside the file to new date. is there anyway that we can just use the pattern to search as "..." I have many files want to replace with the same date, and each file contains different date.
Thanks for your help.
... (2 Replies)
Hi am using Unix AIX Ksh
have a FILE
CAT FILE
08/02/2013
16/02/2013
18/02/2013
I need the Outputs as
Missing date are 09/02/2013 to 15/02/2013,17/02/2013
can anyone help me !!! (1 Reply)
Discussion started by: Venkatesh1
1 Replies
LEARN ABOUT DEBIAN
debnest_make
DEBNEST_MAKE(1) User Contributed Perl Documentation DEBNEST_MAKE(1)NAME
debnest_make - creates a nested debian source package tree
SYNOPSIS
debnest_make <.dsc> [<suffix>]
DESCRIPTION
Debnest is a program to create a nested debian source package tree from the specified debian source control file <.dsc>. The nested debian
source package will be named as <its original source package>-debian by default and its upstream version will be <original debian source
version> and its revision will be 1. If you want to change -debian, you can specify it to second argument.
EXAMPLES
This creates debnest-debian-0.0.1/ and debnest-debian-0.0.1.orig/
~$ debnest_make /tmp/debnest_0.0.1.dsc
~$ ls
debnest-debian-0.0.1/ debnest-debian-0.0.1.orig/
~$ cd debnest-debian-0.0.1
~$ debuild
~$ ls ..
debnest-debian-0.0.1/ debnest-debian_0.0.1-1_i386.changes
debnest-debian_0.0.1-1.diff.gz debnest-debian_0.0.1.orig.tar.gz
debnest-debian_0.0.1-1.dsc debnest_0.0.1-1_all.deb
~$ tar ztf ../debnest-debian_0.0.1.orig.tar.gz
debnest-debian-0.0.1.orig/
debnest-debian-0.0.1.orig/debnest_0.0.1.tar.gz
debnest-debian-0.0.1.orig/debnest_0.0.1.dsc
This creates debnest-local-0.0.1/ and debnest-local-0.0.1.orig/
~$ debnest_make /tmp/debnest_0.0.1.dsc -local
~$ ls
debnest-local-0.0.1/ debnest-local-0.0.1.orig/
ENVIRONMENT
EMAIL, DEBEMAIL
If either of these variables is set, it will be used as the
maintainer/uploader's email address.
If both are set, DEBEMAIL will take precedence.
If neither is set, the current user's email address (or, if that
fails, the email of the last original package uploader)
will be used.
DEBFULLNAME
The maintainer/uploader's full name to be used.
If unset, the name specified in the passwd file or,
if there is none, the name of the last
original package uploader.
DEBNEST_RULES
The rules file to be used. If unset, /usr/share/debneset/rules is
used. If you want to use cdbs based rules, you would set it
'/usr/share/debnest/rules-cdbs'. Because /usr/share/debnest/
is a default search path, you can specify just 'rules-cdbs'.
EXTRA_BUILDDEP
Extra build-dependency to be added in your new debian/control.
Default is ", debnest"
perl v5.8.8 2007-11-16 DEBNEST_MAKE(1)