![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass values between awk and shell scripts | rajnikanth.1912 | Shell Programming and Scripting | 9 | 03-20-2009 02:25 PM |
| Pass by reference in shell functions | sonaluphale | UNIX for Advanced & Expert Users | 5 | 04-25-2007 01:11 PM |
| How to pass stdin to java? | siegfried | Shell Programming and Scripting | 0 | 11-01-2005 03:28 PM |
| How to Pass variable to shell Script | sam70 | UNIX for Dummies Questions & Answers | 5 | 08-23-2005 08:27 PM |
| pass by reference in shell | csejl | Shell Programming and Scripting | 1 | 10-19-2003 11:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
getting date from shell and pass it to java
Hi,
I have a variable called asOfDate in shell script. I need to pass it as a command line argument to a java command which will be called from the same shell script. The format of that variable is "MM/DD/YYYY" while doing echo, it is printing correctly in the java command. ie. asOfDate="03/13/2008". But inside the java program, it says an exception - parse error. If we are running the java command in the command prompt by giving the asOfDate="03/13/2008" , it is running fine. Something wrong in the date given by the script. Please advice. Thanks in advance. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|