11-09-2008
I have Apache 2.2.3, please correspond the data
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
guys,
I'm trying to 9k lines of the following:
aaa aaa 1 1 1
to
aaa aaa 1 01 1
Im pretty ignorant when it comes to subtituting fields using awk
any help ?
Tony (1 Reply)
Discussion started by: tony3101
1 Replies
2. Shell Programming and Scripting
i have a file with some records seperated by pipe. I am getting unwanted "|" in the 7th field and i want to remove any pipes in the
7th field only. Can somebody help out? Here is the sample record.
460625192|432559595|MANU... (3 Replies)
Discussion started by: dsravan
3 Replies
3. Shell Programming and Scripting
I have a file to load in the table, and am using SQLLDR
CONTROL FILE
-----------------------
LOAD DATA
INFILE 'sample.txt'
APPEND
INTO TABLE TEMP_LOAD
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
(FIELD1,FIELD2,FIELD3)
Now i have about 10,000 lines in the file
FIELD1 in the table is... (1 Reply)
Discussion started by: prash184u
1 Replies
4. UNIX for Dummies Questions & Answers
Because some program i have installed can not upload files bigger than some size as printing, the base got a packet bigger than 'max_allowed_packet' bytes what that i need to do as written in the documentation of the program increase the value of a fileld called LimitRequestBody told that is in... (3 Replies)
Discussion started by: tal
3 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I want to edit nth filed of a comma delimited line with some value. Can I use sed command to do this.
Pls suggest me the command here.
Thanks,
Poova. (2 Replies)
Discussion started by: poova
2 Replies
6. Shell Programming and Scripting
hi
i have record looks like below
1,US
I want to add empty field to the record as below
1, , , ,US
how i can do it using awk ?
i tried with awk its not working
awk '{ print $1", ,"$2 }' filename > file 1 (2 Replies)
Discussion started by: raghavendra.cse
2 Replies
7. Shell Programming and Scripting
Hi All,
i have a file having multiple lines but mainly constitues of following two types
1) Sat,Oct,1,01:04:51,2011,Local,ESSBASE0,Info(1051037),Logging,out,user,210073155,,,active,for,63,minutes,GETS_SAL,loaded
2)... (2 Replies)
Discussion started by: dev.devil.1983
2 Replies
8. Shell Programming and Scripting
I try to trim a FTP log using awk, but the escape sequences does not work the way I want it.
Input data Wed 3Oct10 21:48:00 - (002117) Sent file d:\ftp\home\tools\htmake.rar successfully (48.2 kB/sec - 40997 Bytes)
Wed 3Oct10 22:25:46 - (002118) Sent file d:\ftp\files\main\oct\camera1... (4 Replies)
Discussion started by: Jotne
4 Replies
9. UNIX for Beginners Questions & Answers
Dear Team,
I need support to use awk program to grep data based on matching pattern first 5 digits "96656" .
Data I have as below
466565996656,820012906026651 NA NOTMATCHED
4661740045165,820011902196656 NA NOTMATCHED
4661740085225,820011900196656 NA NOTMATCHED... (4 Replies)
Discussion started by: shanul karim
4 Replies
LEARN ABOUT DEBIAN
apache::session::flex
Apache::Session::Flex(3pm) User Contributed Perl Documentation Apache::Session::Flex(3pm)
NAME
Apache::Session::Flex - Specify everything at runtime
SYNOPSIS
use Apache::Session::Flex;
tie %hash, 'Apache::Session::Flex', $id, {
Store => 'DB_File',
Lock => 'Null',
Generate => 'MD5',
Serialize => 'Storable'
};
# or
tie %hash, 'Apache::Session::Flex', $id, {
Store => 'Postgres',
Lock => 'Null',
Generate => 'MD5',
Serialize => 'Base64'
};
# you decide!
DESCRIPTION
This module is an implementation of Apache::Session. Unlike other implementations, it allows you to specify the backing store, locking
scheme, ID generator, and data serializer at runtime. You do this by passing arguments in the usual Apache::Session style (see SYNOPSIS).
You may use any of the modules included in this distribution, or a module of your own making. If you wish to use a module of your own
making, you should make sure that it is available under the Apache::Session package namespace.
USAGE
You pass the modules you want to use as arguments to the constructor. The Apache::Session::Whatever part is appended for you: you should
not supply it. For example, if you wanted to use MySQL as the backing store, you should give the argument "Store =" 'MySQL'>, and not
"Store =" 'Apache::Session::Store::MySQL'>. There are four modules that you need to specify. Store is the backing store to use. Lock is
the locking scheme. Generate is the ID generation module. Serialize is the data serialization module.
There are many modules included in this distribution. For each role, they are:
Store:
MySQL
Postgres
DB_File
File
Lock:
Null
MySQL
Semaphore
Generate:
MD5
Serialize:
Storable
Base64
UUEncode
In addition to the arguments needed by this module, you must provide whatever arguments are expected by the backing store and lock manager
that you are using. Please see the documentation for those modules.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session::File, Apache::Session::DB_File, Apache::Session::MySQL, Apache::Session::Postgres, Apache::Session
perl v5.10.1 2010-10-18 Apache::Session::Flex(3pm)