10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
have been trying for a few weeks not to get this program running. I am newer to programming and it has definitely been a challenge. I think my problem arises with my if statement. I can get it to append the name to the new file, but it simply appends the whole sequence to the file rather than... (3 Replies)
Discussion started by: haley6719
3 Replies
2. Shell Programming and Scripting
Hi Friends,
This is the only solution to my task. So, any help is highly appreciated.
I have a file
cat input1.bed
chr1 100 200 abc
chr1 120 300 def
chr1 145 226 ghi
chr2 567 600 unix
Now, I have another file by name
input2.bed (This file is a binary file not readable by the... (7 Replies)
Discussion started by: jacobs.smith
7 Replies
3. UNIX for Advanced & Expert Users
good morning,
I have 64-bit DB2 V9.7 AIX 7.1.0.0
I am compiling a C program, when running cc-I / rutadb2/include-c programa.c this error.
ksh: cc: not found.
how I can check if I have installed the C compiler?
Any help will be greatly appreciated.
Thank you very much and best regards. (2 Replies)
Discussion started by: systemoper
2 Replies
4. Shell Programming and Scripting
Hello
I am trying to run a python program using shell script, which takes a single argument from a file.
This file has one entry per line :
1aaa
2bbb
3ccc
4ddd
5eee
...
...
...
My shell script runs the program, only for the last entry :
#!/bin/sh
IFS=$'\n'
for line in $(cat... (2 Replies)
Discussion started by: ad23
2 Replies
5. UNIX for Dummies Questions & Answers
Hey, im editing the passwd file so that when the user ben logs in it runs my assign program.
I changed the last column from
to
Then when i log in i get...
There is no problem with the program because it runs fine when i open it normally.
Any help much appreciated. (8 Replies)
Discussion started by: RAFC_99
8 Replies
6. Shell Programming and Scripting
i have a program ABC, which runs every two minutes and takes the input according to the a value called "pointer"
files need to be processed by ABC are
input0001
input0002
input0003
input0004
input0005
current value of pointer is 0001, now program runs and takes all the files from... (2 Replies)
Discussion started by: Prat007
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a program in /opt/local/bin, my path in my .profile is
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
however when i type the program name it cannot find it, however i know the program is in /opt/local/bin?
Thanks (2 Replies)
Discussion started by: c19h28O2
2 Replies
8. Shell Programming and Scripting
Hello all sorry didnt know where to post it
i compiled simple program that using "System.getProperty("user.dir");"
now i compiled the program under directory foo and and its running great when i do "java myapp"
i included this directory in the $PATH env variable so i could see it fro any where... (1 Reply)
Discussion started by: umen
1 Replies
9. UNIX for Dummies Questions & Answers
Please help, I have tried to run this program countless times and still nothing. Please tell me what I'm doing wrong.
$ cat>test
count=1
while
do
echo "5"
read number
echo $5
let count=count+ 1
done
exit 0
^C$ ksh test
$ ^C
$ ksh test
$
$ nothing happend (6 Replies)
Discussion started by: ctiamaria
6 Replies
10. Programming
Can someone help me debug a c program I am running? It gives me segmentation fault.
I want to turn on debugging. Can some one give the command to turn it on?
Below is the error I get:
Segmentation Fault (core dumped) (3 Replies)
Discussion started by: ibeg
3 Replies