Because there are no space characters in the filenames and there are not too many files we can use "ls" to sort the files by timestamp:
Personally I'd not use the "-c" switch to "ls" because that timestamp is not always the timestamp of file creation. It is the timestamp of the last change of the inode.
Hi all
I am searching for a pattern in a file .
The file content is in a single line.If am doing a grep or sed for the a particular pattern am getting whole file.
I want the result in different lines.
attaching the file for reference
search pattern "/xxxxxx/hhhh/tttttttt/sss/" and... (4 Replies)
Hi All,
I am trying to alter all lines between EXEC SQL and END-EXEC that have an INCLUDE in them.
The following code
search="INCLUDE "
cp -f ${WORK}/$file.in ${WORK}/$file.wrk2
for item in `echo $search `; do
> ${WORK}/$file.wrk1
awk -vITEM="$item" '{
if ( $0... (3 Replies)
Hi There...
I need to serach and replace a strings in a text file.
My file has; books.amazon='Let me read' and the output needed is
books.amazon=NONFOUND
pls if anybody know this can be done in script sed or awk.. i have a list of different strings to be repced by NONFOUND.... (7 Replies)
Hi All,
I need to serach and replace a strings between single quote in a file.
My file has :
location='/data1/test.log' and the output needed is
location='/data2/test_dir/test.log'
pls if anybody know this can be done in script sed or awk.
I have a script, but it's... (6 Replies)
have a very big file where need to format it like below
example file:
abcd today
is
great
day;
search keyword 'abcd' and append to it all words till we reach ; to make it a single line.
output should look like.
abcd today is great day;
There are many occurrence of such... (2 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Hi Experts
Please help me out with the following thing:
2 files and want the output file: {No for using FOR loop because I got 22 million lines}
Tried that "It processes only 8000 records per hour"
I need a faster way out !!!
FileA:
9051
9052
9053
9054
9055
9056
9057
9058
9059
... (5 Replies)
Hi,
I need someone's help in writing correct perl code.
I implemented following code for "multiple search strings replaced with single string".
=========================================================
#!/usr/bin/perl
my $searchStr = 'register_inst\.write_t\(' |... (2 Replies)
Hi Experts
I have small query where I request the into a single file
Suppose:
File1: {Unique entries}
AA
BB
CC
DD
FileB:
AA, 123
AA, 234
AA, 2345
CC, 123
CC, 5678
DD,123
BB, 7890 (5 Replies)
Discussion started by: navkanwal
5 Replies
LEARN ABOUT DEBIAN
gnome2::thumbnailfactory
Gnome2::ThumbnailFactory(3pm) User Contributed Perl Documentation Gnome2::ThumbnailFactory(3pm)NAME
Gnome2::ThumbnailFactory - wrapper for GnomeThumbnailFactory
HIERARCHY
Glib::Object
+----Gnome2::ThumbnailFactory
METHODS
thumbnailfactory = Gnome2::ThumbnailFactory->new ($size)
o $size (Gnome2::ThumbnailSize)
boolean = $factory->can_thumbnail ($uri, $mime_type, $mtime)
o $uri (string)
o $mime_type (string)
o $mtime (a timestamp)
$factory->create_failed_thumbnail ($uri, $mtime)
o $uri (string)
o $mtime (a timestamp)
pixbuf = $factory->generate_thumbnail ($uri, $mime_type)
o $uri (string)
o $mime_type (string)
boolean = $factory->has_valid_failed_thumbnail ($uri, $mtime)
o $uri (string)
o $mtime (a timestamp)
string = $factory->lookup ($uri, $mtime)
o $uri (string)
o $mtime (a timestamp)
$factory->save_thumbnail ($thumbnail, $uri, $original_mtime)
o $thumbnail (Gtk2::Gdk::Pixbuf)
o $uri (string)
o $original_mtime (a timestamp)
ENUMS AND FLAGS
enum Gnome2::ThumbnailSize
o 'normal' / 'GNOME_THUMBNAIL_SIZE_NORMAL'
o 'large' / 'GNOME_THUMBNAIL_SIZE_LARGE'
SEE ALSO
Gnome2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
perl v5.14.2 2011-11-16 Gnome2::ThumbnailFactory(3pm)