[newbie] Bash Scripts Galore

2003-10-17 Thread HaywireMac
I'm looking for a simple bash script which would simple show the contents of a directory, for use with Pekwm's dynamic menu's, ie. the root menu would have an entry which would display the contents, directory structure and so on, in my home dir. In looking around, I did come upon this repository

Re: [newbie] Bash Scripts Galore

2003-10-17 Thread robin
HaywireMac wrote: I'm looking for a simple bash script which would simple show the contents of a directory, for use with Pekwm's dynamic menu's, ie. the root menu would have an entry which would display the contents, directory structure and so on, in my home dir. Wouldn't tree do that? I don't

Re: [newbie] Bash Scripts Galore

2003-10-17 Thread HaywireMac
On Fri, 17 Oct 2003 18:59:35 +0300 robin [EMAIL PROTECTED] uttered: I'm looking for a simple bash script which would simple show the contents of a directory, for use with Pekwm's dynamic menu's, ie. the root menu would have an entry which would display the contents, directory structure and so

Re: [newbie] Bash scripts portability

2001-06-12 Thread Paul
It was Tue, 12 Jun 2001 13:05:15 +0100 when n6tadam wrote: bash: /usr/bin/script : not found bash: /usr/bin/script Line X command not found (Line X being the last line in the script which is blank) Does anybody know why, or indeed what causes this, and if so, how do I correct it. Unless it is

Re: [newbie] Bash scripts portability

2001-06-12 Thread Randy Kramer
I don't know if this will help, but try inserting an extra blank line at the bottom of the file (especially if there is no blank line at all now. I've run into problems on other systems, languages, applications that have trouble dealing with a line without a line feed ending it. Good luck,

[newbie] Bash scripts portability

2001-06-12 Thread n6tadam
Dear List, I wonder if someone can offer assistance. One of my hobbies at school is to write bashscripts for our two proxy servers. I usually write them on my home network, which runs Suse 7.0. Our two proxy servers also run SuSE Linux 7.0. The problem I am having is that when I take a bash

RE: [newbie] bash scripts

1999-08-14 Thread Matt Stegman
Store the process id of the ghostview. You can send signal to the process for termination using kill. But this kills the process abruptly and many of cleanup operation by the process would not be done. I believe you can send a termination signal rather than a kill signal. I don't know what

Re: [newbie] bash scripts

1999-08-12 Thread krishna prasad
] [EMAIL PROTECTED] Date: 12 August 1999 03:30 Subject: [newbie] bash scripts If I write a BASH script file which initiates a program, say ghostview. And I want to read a number of files in sequence, so ideally I would like to close the ghostview within the Script file. How do I control a program