Re: [TLUG]: tell ipod a recording is an 'audiobook'?

2007-07-06 Thread Chris F.A. Johnson
using something that you don't have control over? does anyone know how to do this? if it can be done from amarok that's great, otherwise i can use whatever music player is required. -- Chris F.A. Johnson http://cfaj.freeshell.org = Do not reply to the From

Re: Browsers get stuck on some websites.

2005-07-12 Thread Chris F.A. Johnson
-- these three hang in mozilla indicating that it is trying to load something from img.mediaplex.com I have no problem with these sites, using Firefox 1.0.4, but in my /etc/hosts is the following line: 0.0.0.0 img.mediaplex.com -- Chris F.A. Johnson http

Re: bash startup scripts - what is an interactive login ??

2005-07-12 Thread Chris F.A. Johnson
. If the shell is interactive, but not a login shell (e.g., xterm without -ls), it sources ~/.bashrc. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem

Re: OT (and Flamebait): Top-Posting

2005-07-10 Thread Chris F.A. Johnson
didn't check the arithmetic; I'm only talking about the language). -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http

Re: $PATH problem

2005-07-08 Thread Chris F.A. Johnson
, ~/.bash_profile is not sourced. Put the PATH statements in ~/.bashrc, or call bash with the -l option, or xterm (or rxvt) with the -ls option. -- Chris F.A. Johnson http://cfaj.freeshell.org

Re: Creating a task launcher.....

2005-07-08 Thread Chris F.A. Johnson
it to them by doing anything at the command line or using an extremely arcane text editor. Then teach them emacs. ;) -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem

Re: bash - executing function in find command

2005-07-06 Thread Chris F.A. Johnson
=${line%% *} done : variables set within the loop are still available here, e.g.: printf %s\n $word } : but not here -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes

Re: Install Perl modules the Debian way

2005-07-04 Thread Chris F.A. Johnson
38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress

Re: How to get my computers IP address

2005-06-30 Thread Chris F.A. Johnson
://cfaj.freeshell.org/ipaddr.cgi) -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj

Re: xmms skips all files

2005-06-29 Thread Chris F.A. Johnson
. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj/ssr.html -- To UNSUBSCRIBE, email

Re: a2ps printing .ps files?

2005-06-27 Thread Chris F.A. Johnson
for letter size (vice versa), you'll see something like that. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http

Re: How do i find dynamic IP assigned?

2005-06-22 Thread Chris F.A. Johnson
:} ip=${temp%% *} -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj/ssr.html

Re: small if statement in shell script

2005-06-22 Thread Chris F.A. Johnson
command and still leave the if statement intact? even though there is no command to do. if [ $day = Thu ]; then : tar -cpf /var/backups/homethu.tar /home fi -- Chris F.A. Johnson http://cfaj.freeshell.org

Re: [OT] splitting files based on keyword

2005-06-21 Thread Chris F.A. Johnson
at split, csplit. But they dont seem to do this. Googling did not help much. Any other ideas? awk '/^date/ { if (filename != ) close(filename) filename = $2 .txt } {print filename}' humongous.txt -- Chris F.A. Johnson http://cfaj.freeshell.org

Re: bash not running ~/.bash_profile

2005-06-17 Thread Chris F.A. Johnson
. Is there some way I can fix this problem? I tried to add a script S10sourceprofile to /etc/rc2.d/ but that didn't work. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem

Re: Is 'rename' missing or is it just me?

2005-06-17 Thread Chris F.A. Johnson
, at least) it's a compiled executable. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj

Re: OT: bash positional parameters

2005-06-16 Thread Chris F.A. Johnson
shell: eval INFILE=\${$1} -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj/ssr.html

Re: Request for window manager recommendations

2005-06-12 Thread Chris F.A. Johnson
on each of 10 desktops. What I like most about WindowMaker is its configurability. Recent versions of KDE have, perhaps, caught up with it. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell

Re: Top posting

2005-06-09 Thread Chris F.A. Johnson
is viruses. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress http://www.torfree.net/~chris/books/cfaj/ssr.html -- To UNSUBSCRIBE

Re: OT, simple bash alias expansion question

2005-06-08 Thread Chris F.A. Johnson
-s expand_aliases to the script. You replied that is wasn't necessary. You didn't try it and still complained that your script didn't work. -- Chris F.A. Johnson http://cfaj.freeshell.org == Shell

Re: partition magic-ally

2005-06-08 Thread Chris F.A. Johnson
downloading skills know that that can happen - can i merge it with this free 5 gb to make it 23 gb?) Do not split your drive up any more than you absolutely have to. 3. any other suggestions/rearrangement of my partition scheme? See above. -- Chris F.A. Johnson

Re: bash error handling help

2005-06-04 Thread Chris F.A. Johnson
/myfile.sh echo Removing client /tmp/temp log Removing client /tmp/temp ssh -i ~/.ssh/$i [EMAIL PROTECTED] rm -rf /tmp/temp echo Finished $i myfile.sh log Finished $i myfile.sh echo done -- Chris F.A. Johnson