Re: Running long java command from solaris shell script

From: Laura P (patersol_at_hotmail.com)
Date: 01/28/04


Date: 28 Jan 2004 04:28:25 -0800

Thanks, for your suggestions, however I have now found the problem.

I had been using dtpad to view and edit my script,which doesn't show
whitespace characters When I checked the truss report it was trying to
open app.properties^M, which doesn't exist.

Cheers!

>
> Please post the code you are using to open the props file. Also, post
> the output from the command line when you run the script. To verify the
> permissions of the file, please post the output from "ls -l" and
> "whoami" as well.
>
> Also, I noticed in your script that you are using relative paths. While
> this may or may not be the problem, I believe it to be a poor practice.
> The script may be invoked from any directory, which would cause the
> paths to be invalid.
>
> Ray



Relevant Pages

  • Re: Editing Binary Files
    ... I want to edit a precompiled ... pipe that into ... 'awk' script which searches for the pattern you are ... it is then processed and 'uudecode' is used to get the text back ...
    (comp.unix.questions)
  • Re: verifying email address with link
    ... Does the verify script actually create those directories on the web server, and then copy an index file at the bottommost directory which verifies the email? ... on website root folder, then it's also executed if you treat it as folder in URL: http://www.webaddress.com/verify.php/12453523/7573434 In the script you can parse the URL to get the values passed in it. ... then the browser treats your parameters ... as a path and all relative paths given in the HTML document available ...
    (alt.php)
  • Re: Using echo in Bash
    ... the filenames into a text file, edit it with a text, then turn the file ... > Isn't it the 'echo' command that have to do be able to echo editable text? ... > Sure=) I have made this little Bash script that converts MusePack ... > The script is called repack, ...
    (alt.linux)
  • Re: Live byte count possible whilst *in* a field?
    ... Is it possible in FMP 6 and/or 9 to have a live byte counter? ... end loop ... I had to tinker with the script a bit and got it ... possible after the loop has been left) and needs to edit the message and to ...
    (comp.databases.filemaker)
  • Re: Replace lines in a text file?
    ... This example loads the entire script into memory at once so you probably ... >> writing to text files, but I cannot find a solution for line replacement. ... You can't edit files in situ. ...
    (microsoft.public.windows.server.scripting)