08-21-2005
It's pretty weird.
Is there anything else in the script between the lines you have typed? I mean could it be that the variable is not known when fireit is executed.
Why would not you run your script with options "xtrace' and 'verbose' to see what is really running:
ksh -xv myscript.ksh
Then you will see what argument was actually passed to fireit.
10 More Discussions You Might Find Interesting
1. Programming
Hello,
in the application i'm writing i need to launch "recordmydesktop" to capture the screen,but i'm having a problem: when the recording stops,and the encoding of the saved file starts,the entire system hangs until the completion of the encoding.This happens if i launch recordmydesktop from my... (7 Replies)
Discussion started by: Zipi
7 Replies
2. Programming
Hi,
in my program i need to run an external program in background.I am aware that there are at least 2 alternatives for this:
1)fork+exec
2)system("program &");
I have read several posts about this,and they all tend to suggest to use fork+exec (and that's what i am doing now).
I have some... (2 Replies)
Discussion started by: Zipi
2 Replies
3. Shell Programming and Scripting
I have asked this before but I haven't had any luck so far getting this to work. I use RCS(revision control system). When it runs if I pass the value 'unlock' to $3 its reassigned to $unlock. When I run the command (rcs -u'version number' 'filename') ti will ask me 1-(Do you want to break the lock... (5 Replies)
Discussion started by: pjones006
5 Replies
4. Shell Programming and Scripting
Hi!
I have a python script that requires arguments and these arguments are file paths. This script works fine when executed like this:
/my_python_script "file_path1" "file_path2"
(i added quotes as some file names may have weird characters)
the issue happens when i launch my python script... (14 Replies)
Discussion started by: gigagigosu
14 Replies
5. Shell Programming and Scripting
Hi, I was hoping for help with a for loop to run a program (vina) repeatedly using all the files in a folder as input. Currently my code looks like this:
#!/bin/bash
FILES=/home/afalk/Desktop/battest/*.pdbqt
for f in $FILES do
vina --config /home/afalk/Desktop/A.txt --ligand "$f".pdbqt
done... (5 Replies)
Discussion started by: oldmanwinter
5 Replies
6. Shell Programming and Scripting
Hi all,
I am using an external binary to view memory starting from a specific address and i want to automate this via PERL however there are problems. Hope you can help me ..thx
The output of the programme is like below:
bash-3.2$ mem_disp 12B21D20 100
Opening RO Data Memory File scp.ro... (4 Replies)
Discussion started by: ekckabatop
4 Replies
7. Shell Programming and Scripting
Hi,
How can I modify the FILETYPE command ?
I want to provide the file extension, like txt, root .?
Thanks,
#!/bin/bash
FROM=$1
TO=$2
FILETYPE=$3
... (4 Replies)
Discussion started by: nrjrasaxena
4 Replies
8. Shell Programming and Scripting
my $sysdate = strftime('%Y-%m-%d', localtime );
biDeriveByDate('Table_Str',$sysdate,\@lIndx,\@lResVals)
In a perl script, when I'm trying to pass $sysdate to some external function it's not working since $sysdate is passed as a string mentioned above but my function is expecting a date value... (1 Reply)
Discussion started by: Devesh5683
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to write a bash script in which I need to pass a external variable to the awk program. I tired using -v but it not accepting the value.
Here is my sample code.
#!/usr/bin/bash
######################################################################################
####... (5 Replies)
Discussion started by: jpkumar10
5 Replies
10. Shell Programming and Scripting
I have a code which is using to find duplicates in a files based on column.Below is the same code which is used to find duplicates in my file based on column 1
awk -F'|' '{if (x) { x_count++; print $0; if (x_count == 1) { print x } } x = $0}' FileName >Dup_File.txt
But my requirement here is... (3 Replies)
Discussion started by: ginrkf
3 Replies
wxPen(3erl) Erlang Module Definition wxPen(3erl)
NAME
wxPen - See external documentation: wxPen.
DESCRIPTION
See external documentation: wxPen .
DATA TYPES
wxPen() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new() -> wxPen()
See external documentation .
new(Colour::colour() (see module wx)) -> wxPen()
Equivalent to new(Colour, []) .
new(Colour::colour() (see module wx), Options::[Option]) -> wxPen()
Types Option = {width, integer()} | {style, integer()}
See external documentation .
getCap(This::wxPen()) -> integer()
See external documentation .
getColour(This::wxPen()) -> colour() (see module wx)
See external documentation .
getJoin(This::wxPen()) -> integer()
See external documentation .
getStyle(This::wxPen()) -> integer()
See external documentation .
getWidth(This::wxPen()) -> integer()
See external documentation .
isOk(This::wxPen()) -> bool()
See external documentation .
setCap(This::wxPen(), CapStyle::integer()) -> ok
See external documentation .
setColour(This::wxPen(), Colour::colour() (see module wx)) -> ok
See external documentation .
setColour(This::wxPen(), Red::integer(), Green::integer(), Blue::integer()) -> ok
See external documentation .
setJoin(This::wxPen(), JoinStyle::integer()) -> ok
See external documentation .
setStyle(This::wxPen(), Style::integer()) -> ok
See external documentation .
setWidth(This::wxPen(), Width::integer()) -> ok
See external documentation .
destroy(This::wxPen()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxPen(3erl)