04-09-2015
Moderator's Comments:
|
|
The entire template must be completed; not just the 1st three questions!
The answer to question #1 in the template should be a clear statement of what your assignment is. What is your program supposed to do? Is it really supposed to be processing the output from a wc command, or are you supposed to be implementing a replacement for the wc utility?
Where is your program dropping core? What output do you get from you debugger when you give it your core file?
Please use CODE tags for all sample input, output, and code segments; not just your C++ code.
This thread is closed. Please open a new thread with the complete template fully filled in.
|
|
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. UNIX for Dummies Questions & Answers
Im new and wanted to know if im in the unix terminal and lets say i want to run microsoft word for example. i go in and go into the HD and then keep going and i type ls and see that microsoft word.app is there. how do i run it from that? (4 Replies)
Discussion started by: Corrail
4 Replies
4. 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
5. Shell Programming and Scripting
I scheduled a cron job to run @ 1:00 as follows ,
00 01 * * * /app/cbf/CLIF/version-1.0.0.0/scripts/archival.sh
Please find the archival.sh script.
But cron is throwing a mail stating sqlplus command not found
So can anybody suggest what might be the problem ??? (13 Replies)
Discussion started by: manas_ranjan
13 Replies
6. OS X (Apple)
Which log file lists the activity of startup scripts, particularly loginhooks? I am trying hard to find it and I cannot. How can I even tell if my script is running without errors if there isnt a log? Very frusturating! (1 Reply)
Discussion started by: glev2005
1 Replies
7. 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
8. Shell Programming and Scripting
I have a bash script that launches another problem. I need to run that program under a certain user account. The script itself is run using 'sudo <scriptname>'.
#!/bin/bash
myprogram=...
exec "$myprogram"
How would this be done? (1 Reply)
Discussion started by: Carson Dyle
1 Replies
9. 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
10. AIX
I have a make file for C program, which always gives the error
ld: 0711-738 ERROR: Input file ../src/file_name.o
XCOFF32 object files are not allowed in 64 mode
Does anybody know the problem?
Thanks for contribution (2 Replies)
Discussion started by: digioleg54
2 Replies
LEARN ABOUT DEBIAN
smd-pull
smd-pull(1) Sync Mail Dir (smd) documentation smd-pull(1)
NAME
smd-pull - syncs the local mail dir letting the remote one untouched
SYNOPSIS
smd-pull [-d|--dry-run] [-v|--verbose] [-s|--show-tags] [-t|--template-only]
[-n|--no-delete] [endpoint]
DESCRIPTION
smd-pull performs in the local maildir all the changes that were performed on remote one.
No changes are made on the remote maildir. Use smd-push(1) for that.
Refer to smd-config(5) for the configuration file format.
OPTIONS
-v --verbose
Verbose output
-s --show-tags
Machine readable output
-d --dry-run
Do not perform any action for real
-n --no-delete
Do not propagate deletions
-t --template-only
Just create a template configuration file if none
endpoint
Is the suffix for the name of the configuration file to use. If it is omitted, the configuration file ~/.smd/config.default is used.
FILES
~/.smd/config.* ~/.smd/hooks/pre-pull.d/ ~/.smd/hooks/post-pull.d/
SEE ALSO
mddiff(1), smd-server(1), smd-client(1), smd-push(1), smd-loop(1), smd-config(5)
AUTHOR
Enrico Tassi <gares@fettunta.org>
11 June 2012 smd-pull(1)