LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2008, 03:32 PM   #16
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411

Man, I'm stumped...

When I let Java do the call, and do this (loose snippet)

$a = $ARGV[x]

open...

print $a; # displays correvtly
print FILEHANDLE â; # saves only the first bit - until the space...

I tries putting the single quotes in, and the output is :

<dlu>'Fri</dlu>
<dam>Dec</dam>
<fla>05</fla>
<phf>22:11:52</phf>
<hfn>CET</hfn>
<pin>2008'</pin>

<ith this param being 'Fri Dec 05 22:05:20 CET 2008' - with single quotes, the previous attempt had escaped double quotes...even that did'nt work...

the first parenthesis and the last are printed to the file, just like that...

Eh, I'll sleep on it...maybe I'll "dream" up something...
;-)

'nite-all

Thor
 
  


Reply

Tags
parameters, parsing, perl, perlscript



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can u plzz help... Regarding module params... bhargav_crd Linux - Kernel 2 03-04-2008 11:34 PM
'upgradepkg' params during 10.2 -> 11.0 HaroldWho Slackware 3 11-27-2006 01:10 PM
Passing params to Lilo with out a prompt ? michael_util Linux - General 1 02-11-2005 02:19 PM
where are these params? michi Linux - General 1 09-16-2002 01:32 PM
network params ph33r Linux - Networking 5 09-03-2002 06:59 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration