Re: [SLUG] grep question

2008-04-13 Thread Amos Shapira
On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote: Try grep -Ev '^(\W*;|$)' great that works, (i changed to \s* instead, also tried the [[:space:]] and it worked) I don't understand hwy i need to test for ^$, I had thought that once a line test positive for ^\s*; it

Re: [SLUG] grep question

2008-04-13 Thread Alex Samad
On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote: On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote: Try grep -Ev '^(\W*;|$)' great that works, (i changed to \s* instead, also tried the [[:space:]] and it worked) I don't understand hwy i need to test

[SLUG] looking for a command to composite sequentially numbered files

2008-04-13 Thread elliott-brennan
Hi all, Okay, I've googled about this too... My example is as follows. I have a collection of images I wish to superimpose another image over. Each of the images is a sequence in a video. I've collected the stream as sequentially numbered stills. I wish to superimpose an image (of a frame)

Re: [SLUG] looking for a command to composite sequentially numbered files

2008-04-13 Thread Alex Samad
On Mon, Apr 14, 2008 at 02:24:50AM +1000, elliott-brennan wrote: Hi all, [snip] $ for i in `seq 1 999`;do j=`printf %04d $i`; composite -compose atop bubbles.png 0*.png image$j.png; done but I get the following error: bash: syntax error near unexpected token `do' works here for i in

Re: [SLUG] looking for a command to composite sequentially numbered files

2008-04-13 Thread Richard Heycock
Excerpts from Alex Samad's message of Mon Apr 14 07:13:12 +1000 2008: On Mon, Apr 14, 2008 at 02:24:50AM +1000, elliott-brennan wrote: Hi all, [snip] $ for i in `seq 1 999`;do j=`printf %04d $i`; composite -compose atop bubbles.png 0*.png image$j.png; done but I get the following

Re: [SLUG] looking for a command to automatically create sequentially numbered files

2008-04-13 Thread Peter Chubb
elliott-brennan == elliott-brennan [EMAIL PROTECTED] writes: elliott-brennan Hi all, elliott-brennan Now, I know I've asked a similar questions, but I elliott-brennan thought that I'd ask again with what may be a clearer elliott-brennan request :) For example: elliott-brennan I have a

Re: [SLUG] grep question

2008-04-13 Thread Amos Shapira
On Sun, Apr 13, 2008 at 10:02 PM, Alex Samad [EMAIL PROTECTED] wrote: On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote: On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote: Try grep -Ev '^(\W*;|$)' great that works, (i changed to \s* instead, also tried

Re: [SLUG] grep question

2008-04-13 Thread Alex Samad
On Mon, Apr 14, 2008 at 10:16:32AM +1000, Amos Shapira wrote: On Sun, Apr 13, 2008 at 10:02 PM, Alex Samad [EMAIL PROTECTED] wrote: On Sun, Apr 13, 2008 at 09:55:13PM +1000, Amos Shapira wrote: On Sun, Apr 13, 2008 at 9:41 AM, Alex Samad [EMAIL PROTECTED] wrote: Try grep -Ev

Re: Open2020 and Strawpoll on Roles in the Governance of ICT was Re: [SLUG] Looking for speakers

2008-04-13 Thread david . lyon
Quoting Marghanita da Cruz [EMAIL PROTECTED]: Hi Sridhar and SLUGers, Video of the Open 2020 talks is now available at http://tomw.net.au/moodle/course/view.php?id=9 Sitting around watching Videos at a SLUG meeting might not be what you are after... and the files are pretty big MPEG4 but the

[SLUG] restricting ssh private key to access sftp only

2008-04-13 Thread Amos Shapira
Hello, I'm setting up a script which uses sftp to manipulate remote files through ssh. I created a private/public key pair for it without a pass phrase on it, installed the public key on the remote server and now I can use both ssh and sftp to login to it. I'd like to restrict this key to be

AW: [SLUG] restricting ssh private key to access sftp only

2008-04-13 Thread Sven Peters
Hi, Try this: http://www.debian-administration.org/articles/94 --snip-- Add user as usually and assign him a password. Then run the following command (replace the 'username' with real user name): [EMAIL PROTECTED] # usermod -s /usr/lib/sftp-server username This changes user's shell to

Re: [SLUG] restricting ssh private key to access sftp only

2008-04-13 Thread John Ferlito
On Mon, Apr 14, 2008 at 12:18:06PM +1000, Amos Shapira wrote: I'm setting up a script which uses sftp to manipulate remote files through ssh. I created a private/public key pair for it without a pass phrase on it, installed the public key on the remote server and now I can use both ssh and

Re: [SLUG] restricting ssh private key to access sftp only

2008-04-13 Thread Mick Pollard
Hi, On Mon, 14 Apr 2008 12:18:06 +1000 Amos Shapira [EMAIL PROTECTED] wrote: Hello, I'm setting up a script which uses sftp to manipulate remote files through ssh. I created a private/public key pair for it without a pass phrase on it, installed the public key on the remote server and now

Re: [SLUG] restricting ssh private key to access sftp only

2008-04-13 Thread Amos Shapira
On Mon, Apr 14, 2008 at 12:27 PM, Sven Peters [EMAIL PROTECTED] wrote: Hi, Try this: http://www.debian-administration.org/articles/94 --snip-- Add user as usually and assign him a password. Then run the following command (replace the 'username' with real user name): [EMAIL