01-07-2009
Hi zaxxon,
thanks for the reply. The solution kinda works...but only for the first 9 lines. It then appends the rest of the file with "false" or "true", e.g.
HELLO,SIMPLE=HELLO
HELLO,CONFIDENTIAL=false
HELLO,SENDER=false
HELLO,REQUIRED=true
HELLO,FEEDBACK=false
HELLO,UPDATE=false
HELLO,REQUIRED=false
HELLO,MAPPING=true
false,TEST1=true
false,TEST2=false,
false,TEST3=false,
false,TEST4=true
etc... any ideas?
thanks!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Is it possible to create a dynamic array in shell script. I am trying to get the list of logfiles that created that day and put it in a dynamic array. I am not sure about it. help me
New to scripting
Gundu (3 Replies)
Discussion started by: gundu
3 Replies
2. Shell Programming and Scripting
My requirement is to create a KSH to generate the SQL select statement in oracle with all the columns and optional where condition if given the table name as input to the program
Have any of you worked with a similar requirement? Can you give me some inputs?
Regards,
Kousikan (2 Replies)
Discussion started by: kousikan
2 Replies
3. Shell Programming and Scripting
dear pro-coders,
is there any command out there that takes out the front spaces from a string?
sample strings:
4 members
5 members
3 members
but it has to be like so:
4 members
5 members
3 members (3 Replies)
Discussion started by: pseudocoder
3 Replies
4. Shell Programming and Scripting
Adding a word in front of a word of each line.In that line only one word will be there.
pl help:( (4 Replies)
Discussion started by: Ramesh Vellanki
4 Replies
5. Shell Programming and Scripting
Hi everyon,
I am trying to search for a pattern in a file and add "//" to the begining of the file.
lets say i want to comment out a line from my codes. the line that should be commented out contains the word "reset". i need to search for the word "reset" and comment out that specific line. is... (5 Replies)
Discussion started by: ROOZ
5 Replies
6. Shell Programming and Scripting
Hi,
Can anybody help me how to add a word in front of a line in a file.Actually it is bit tricky to add a word. i will give a sample for this:
Input :
1110001 ABC DEF
1110001 EFG HIJ
1110001 KLM NOP
1110002 QRS RST
1110002 UVW XYZ
Output:
%HD% 1110001 ABC DEF
%DT% 1110001 EFG HIJ... (4 Replies)
Discussion started by: apjneeraj
4 Replies
7. Shell Programming and Scripting
Hello,
Did any one know how to use perl join line and add | in front
Input-->
timestamp=2009-11-10-04.55.20.829347;
a;
b;
c;
ddaa;
timestamp=2009-11-10-04.55.20.829347;
aa;
bb;
cc;
Output-->
... (2 Replies)
Discussion started by: happyday
2 Replies
8. Shell Programming and Scripting
hi,
i have stuff like
if ]; then
what does the x mean?
also, what does -z variable mean in an if statement>
thanks (8 Replies)
Discussion started by: JamesByars
8 Replies
9. Shell Programming and Scripting
Hi
I've one file full of paths of certain files and I want to add some extra file words in front of all the paths. for eg:
i have a file name test.txt which show some details only..
024_hd/044/0344eng.txt
035_bv/222/editor.jpg
here I want to add /usr/people/indiana/ infront of all the... (4 Replies)
Discussion started by: ratheeshp
4 Replies
10. Shell Programming and Scripting
I'm trying to convert this line:
to
\ with sed.
This is what I have so far:
sed -e 's/\]*\)\]/\\\\\/'
but this still gives me .
Any suggestions? (15 Replies)
Discussion started by: lehaste
15 Replies
LEARN ABOUT DEBIAN
jifty::web::session::none
Jifty::Web::Session::None(3pm) User Contributed Perl Documentation Jifty::Web::Session::None(3pm)
NAME
Jifty::Web::Session::None - A null session handler for jifty
DESCRIPTION
Jifty depends on its sessions to keep users logged in, to store continuations and to allow developers to store user-specific data. In
general, you don't want to disable them. But sometimes, the development benefits of Jifty lead you to build applications that genuinely
don't want per-user sessions. That's where "Jifty::Web::Session::None" comes in. By specifying that you want to use
"Jifty::Web::Session::None" as your Jifty session handler, you tell Jifty to avoid ever reading, writing or storing a user session. No
cookies get set. Nothing gets stored in the database.
USAGE
In your "etc/config.yml":
---
framework:
Web:
SessionClass:: Jifty::Web::Session::None
METHODS
All methods in this class are dummy methods which do no work. This class mocks the API provided by "Jifty::Web::Session".
new
Takes no arguments. Returns a Jifty::Web::Session::None.
id
Returns false.
create
Returns true.
load
Returns true.
unload
Returns true.
loaded
Returns true.
get
Returns false.
set
Returns false.
remove
Returns true.
set_continuation
Returns false.
get_continuation
Returns false.
remove_continuation
Returns false.
continuations
Returns false.
set_cookie
Returns false.
cookie_name
Returns false.
expires
Returns false.
perl v5.14.2 2010-09-25 Jifty::Web::Session::None(3pm)