03-01-2017
If you need BASH features, use BASH. I don't think you can do that in plain Bourne.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies
2. AIX
It seems that since the Upgrade from aix 4.3 to 5.2 the corefiles are somehow truncated.
I tried the debuggers ddd, xldb and gdb everytime the same results.
i found this on the IBM site:
IBM Information center:
If some entries appear in the Call Stack monitor but others are missing, this... (1 Reply)
Discussion started by: Lazzar
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a problem I don't understand with fuser.
I launch a simple shell script mysleep.sh:
I launch the command fuser -fu mysleep.sh but fuser doesn't return anything excepted:
mysleep:
Then I modify my script switching from #!/bin/sh to #!/bin/ksh
I launch the command fuser -fu... (4 Replies)
Discussion started by: Peuj
4 Replies
4. Shell Programming and Scripting
Hello,
I am just starting with shell scripting, as everyone will soon see from my question. What I'm trying to do is call the Nice command to set the script process priority from /bin/ksh. The difference is I'm running it not directly through the shell, but through Bigfix (very similar to... (3 Replies)
Discussion started by: solly119
3 Replies
5. OS X (Apple)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies
6. Shell Programming and Scripting
I want to have a script both define functions and have the ability to run an external program calling one of them. This is the simplified construct:
#!/bin/bash
foo() {
echo "this is foo"
}
bar() {
echo "this is bar"
}
case "$1" in
one)
foo
;;
two)
export... (1 Reply)
Discussion started by: graysky
1 Replies
7. UNIX for Dummies Questions & Answers
I have a multithreaded usermode program(actually a daemon) which is in hanged state.
To debug it I tried attaching the process to gdb, but the gdb hangs.
gstack also gets hanged.
I peeped into the proc file system and saw the process to be in sleeping state.
/proc/sysrq-trigger I guess... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
8. Shell Programming and Scripting
Some question about the usage of shell scripts:
1.) Are the commands of the base shell scripts a subset of bash commands?
2.) Assume I got a long, long script WITHOUT the first line.
How can I find out if the script was originally designed für "sh" or "bash"?
3.) How can I check a given... (3 Replies)
Discussion started by: pstein
3 Replies
LEARN ABOUT DEBIAN
podracer
PODRACER(1) General Commands Manual PODRACER(1)
NAME
podracer - A podcast aggregator with BitTorrent support
SYNOPSIS
podracer [-c|-catchup|--catchup|catchup]
podracer [-v|-version|--version|version]
DESCRIPTION
Podracer is a podcast downloader. It takes a file with the URLs to all your podcast rss feeds and goes and gets the mp3s and stores them
in a specified location. It is a BASH script with an internal BitTorrent downloader written in Python.
OPTIONS
-c, -catchup, --catchup, catchup
Run podracer in catchup mode. RSS feeds are retrieved and their enclosures are reported to the user's log, but no podcasts are
downloaded.
-v, -version, --version, version
Show Podracer version information and exit.
SUBSCRIPTIONS
Podcast subscriptions are stored in a file typically named ~/.podracer/subscriptions.
Each line of the subscription file consists of a URL to a podcast feed and its
optional corresponding download directory name separated by a space or tab. Any line that is blank or that does not begin with a
URL or the absolute path to a local file name is ignored. If a download directory is specified in the subscription file, it will be
created under the directory specified by the poddir config option. If no download directory is specified, the shows will be stored
directly in poddir.
A sample subscription file is included with Podracer, and can be created in a
user's directory when running Podracer for the first time.
AUTHOR
Podracer and its man page are written by Lorenzo Taylor <lorenzo@taylor.homelinux.net>. See the CREDITS file for other contributors.
LICENSE
Podracer may be freely used, distributed and modified subject to the terms of the MIT License. See LICENSE for details.
podracer 19 February 2006 PODRACER(1)