Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
I am using ksh93 on Solaris.
Ok, this may seem like a simple request at first. I have a directory that contains sets of files with a YYYYMMDD component to the name, along with other files of different filespecs. something like this:
20110501_1.dat
20110501_2.dat
20110501_3.dat... (2 Replies)
I did some searches, but couldn't really find what I'm looking for. I have a file formatted as below:
BOF ABC CO - XYZ COMM DATA OF 07/05/2011
EBA00000001 sdfa rtyus uyml
EBB00000001 54682 984w3
EBA00000002 mkiyuasdf 98234
I want to pull the date from the header record and add it... (4 Replies)
hey guys.
the following line is a line taken from apache's access_log
10.10.10.10 - jdoe "GET /images/down.gif HTTP/1.1" 304
I'm concerned about the field that has the date and time in it.
if assuming the delimiter in the file is a space, then the fourth field will always have the date... (5 Replies)
Hi,
My first time on this site, please excuse me if I've come to the wrong forum. I'm fairly new to Unix/Linux and hoping you can help me out.
I'm looking for a command line that will return a list of directories that are larger than 50M and older than 2 days.
I thought it may be... (6 Replies)
I have file listed like below
-rw-r--r--+ 1 test test 17M Nov 26 14:43 test1.gz
-rw-r--r--+ 1 test test 0 Nov 26 14:44 test2.gz
-rw-r--r--+ 1 test test 0 Nov 27 10:41 test3.gz
-rw-r--r--+ 1 test test 244K Nov 27 10:41 test4.gz
-rw-r--r--+ 1 test test 17M Nov 27 10:41 test5.gz
I... (5 Replies)
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
I have one file with below entry. There are multiple entries, but for sample I used just three lines.
my requirment is to create a script by which it will pull only those entries which modification time is greater than 2 weeks (or 15 days). if I run script today, it will compare date from today... (4 Replies)
Discussion started by: anshu ranjan
4 Replies
LEARN ABOUT DEBIAN
opensearch-discover
OPENSEARCH-DISCOVER(1) User Contributed Perl Documentation OPENSEARCH-DISCOVER(1)NAME
opensearch-discover - Find an OpenSearch link from a given URL.
SYNOPSIS
opensearch-discover [-q] [-v] [-t TITLE] [-1|-a] [-h] [URL]
DESCRIPTION
Loads the given URL, searches it for a link to an OpenSearch description URL, and prints that URL.
OPTIONS -q, --quiet
Give no output on errors. In this case, consult the exit code to determine errors (See "DIAGNOSTICS").
-v, --verbose
Verbose: display titles with links. Combine with -a to see all available searches
-t TITLE, --title=TITLE
Only display links matching TITLE, a case-insensitive perl regular expression. For example, -t book would match Book Search, and -t
b.*k would match Book Search or Baby Springbok.
-1, --first
Only display first (matching) link. This is the default.
-a, --all
Display all (matching) links.
-h, --help
Display a short help message.
DIAGNOSTICS
On success, prints the address of the OpenSearch description file and returns 0.
If it cannot load the given URL, it returns 1.
If the given URL does not contain a link to an OpenSearch description file, it returns 2.
If required perl modules are missing, it returns 3.
DEPENDENCIES
Requires modules from libwww-perl and HTML::Parser (Debian package libhtml-parser-perl).
BUGS
None known. Please report any found to ianb@erislabs.net
SEE ALSO opensearch(1), opensearch-genquery(1), surfraw(1), WWW::OpenSearch(3pm), <http://www.opensearch.org/>
AUTHOR
Ian Beckwith <ianb@erislabs.net>
COPYRIGHT AND LICENSE
Copyright 2006 Ian Beckwith <ianb@erislabs.net>
Licensed under the same terms as surfraw.
perl v5.12.4 2011-07-12 OPENSEARCH-DISCOVER(1)