09-09-2010
Many thanks, this is an interesting option to explore. I will need some time to evaluate and play around with it, but i will report here my results.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
If you specify the same directory in your FPATH and PATH
variables, and you type in a "command" (e.g. hello), and
there exists a file called hello in that common directory,
will the shell first attempt to interpret this file as a
function, and failing this, then re-attempt to interpret
it as a... (2 Replies)
Discussion started by: DeMented
2 Replies
2. Shell Programming and Scripting
This is what I tried:
vara=${varb}_count
(( vara += 1 ))
Thanks for help (4 Replies)
Discussion started by: pa3be
4 Replies
3. Shell Programming and Scripting
At our site we have a function library that contains several functions that are called via FPATH. We're using ksh and have environment variables in our .profile that link us to these as follows:
export CIRC_LIB=/apps/usr/circ/circ_lib
export FPATH=$CIRC_LIB
My questions are: When are the... (4 Replies)
Discussion started by: BCarlson
4 Replies
4. Shell Programming and Scripting
Does anyone have a script they would like to share that emulates "ls -lh" in ksh on Solaris 8?
Yeah, I know. Real men don't need that wimpy "h." Well, I'm a wimp. ;) (0 Replies)
Discussion started by: shew01
0 Replies
5. Shell Programming and Scripting
Hi,
I use AIX (ksh) and Linux (bash) servers. I'm trying to do scripts to will run in both ksh and bash, and most of the time it works. But this time I don't get it in bash (I'm more familar in ksh).
The goal of my script if to read a "config file" (like "ini" file), and make various report.... (2 Replies)
Discussion started by: estienne
2 Replies
6. UNIX for Dummies Questions & Answers
I'm a user on a fairly locked down sys V server. By default, I have ksh set as my default shell. I added to my .profile:
bash -o vi
so when I login, it goes into bash so I can take advantage of tab completion and use the up key to bring up previous commands. However, whenever I want to exit, I... (2 Replies)
Discussion started by: mrwatkin
2 Replies
7. Shell Programming and Scripting
Hi,
I wrote a little menu script that searches through another script you specify and displays step-names and next to it the text of the step. The scripts are converted JCL from mainframe. It alows you to select steps you want and will then create a new script which includes only the steps you... (5 Replies)
Discussion started by: AliceD
5 Replies
8. Shell Programming and Scripting
Hello,
First post for Newbie as I am stumped. I need to get certain elements for a specific PID from the ps command. I am attempting to pass the value for the PID I want to retrieve the information for as a variable. When the following is run without using a variable, setting a specific PID,... (3 Replies)
Discussion started by: Coyote270WSM
3 Replies
9. Shell Programming and Scripting
I am not clear why the cnt variable is not increased in the script below:
#!/bin/bash
INPF=${1:-a.txt};
KWDS=${2:-lst}
cnt=0;
grep -v '^#' $KWDS | while read kwd;
do
grep -q $kwd $INPF;
if ; then
echo Found;
((cnt=cnt+1));
fi... (5 Replies)
Discussion started by: migurus
5 Replies
10. Shell Programming and Scripting
In this post at 302451613-post2.html the link to the code comes up not found. The thread is closed, so I was unable to ask on the thread itself and I do not have enough posts yet to send a private message (or write out a proper html link). Does the author (jim mcanamara) have an updated link?
... (2 Replies)
Discussion started by: matthewpersico
2 Replies
PLAIT(1) User Commands PLAIT(1)
NAME
Plait - Command-line Jukebox.
DESCRIPTION
Usage is:
"plait <hint about artist or album or song> [[not] <hint>]...[as <mix>]", or "plait --stream <hint> [[not] <hint>]..."
OPTIONS
--list,-l -- show matching tracks but don't play
--mix,-m -- play tracks matching any hint (make a mix)
--queue,-q -- add tracks to queue
--random,-r -- play in random order
--sort -- play in sorted order
--stripe -- play in alternating order
--stripe2 -- play in random alternating order
--fade -- play in gaussian fade order
--group -- play randomly in groups
--tracks,-t -- play n tracks, if possible
--stream,-s -- play Shoutcast radio streams
--mixfile,-f -- read hints from mixfile
--device,-d -- choose target device
--platform -- choose platform
--coverart -- cover art mode (0 or 1)
--guest,-g -- use guest configuration
--interactive,-i -- interactive mode
--cache,-c -- rebuild cache
--install -- install Plait
--uninstall -- uninstall Plait
--play
--pause
--stop
--next
--prev
--help -- show help
--version -- show version
AUTHOR
Written by Stephen Jungels (http://stephenjungels.com/contact)
COPYRIGHT
Copyright (C) 2005-2008 by Stephen Jungels. Released under the GPL. Latest version and more info at http://plait.sourceforge.net/
Plait v 1.6.2 September 2008 PLAIT(1)