RE: Mapping windows drives in cygwin?

2007-04-21 Thread Kevin Markle
Thanks that worked! -Original Message- From: Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 4:50 PM To: Kevin Markle Subject: Re: Mapping windows drives in cygwin? Kevin Markle wrote: snip I tryed the last method which will give me a drive letter and I

Re: Mapping windows drives in cygwin?

2007-04-20 Thread Kevin Markle
Keith Christian expressed precisely : Kevin Markle wrote: Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) Hi Kevin, This method works: #Using a hostname for the remote machine= net use sandstone.bedrock.net\\IPC

Mapping windows drives in cygwin?

2007-04-19 Thread Kevin Markle
Hello, Does anybody know of a simple way to map network drives from withing a cygwin script? :o) Thanks! Kevin M -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html

RE: Mapping windows drives in cygwin?

2007-04-19 Thread Kevin Markle
Possibly a dumb question but I have tried a lot of different quoting methods and can't seem to get it to work? How do I quote back slashes in Cygwin? -Original Message- From: Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 1:50 PM To: Kevin Markle Subject

Re: crontab not sending output to me?

2007-04-16 Thread Kevin Markle
Pierre A. Humblet wrote on 4/13/2007 : - Original Message - From: Kevin Markle To: Sent: Friday, April 13, 2007 3:55 PM Subject: crontab not sending output to me? Hello, I'm running this crontab. When I run /cygdrive/e/wsus/run_all_groups.sh from a command line it works but when I

crontab not sending output to me?

2007-04-13 Thread Kevin Markle
Hello, I'm running this crontab. When I run /cygdrive/e/wsus/run_all_groups.sh from a command line it works but when I run it from cron I get no content in the email I recive. My Crontab: MAILTO= # minute hour day of month month day of week command 0 8 * *

Newlines in cygwin help please...

2007-04-12 Thread Kevin Markle
Hello, I'm sending text to a files via echo on 5 different lines in a shell script | using u2d command to convert it to a dos format and then sending it to my email. The text comes out as on big stream instead of each echo Text us here going on its own line? Is there a way to get each line to

Re: Newlines in cygwin help please...

2007-04-12 Thread Kevin Markle
Dave Korn brought next idea : On 12 April 2007 19:19, Kevin Markle wrote: Hello, I'm sending text to a files via echo on 5 different lines in a shell script | using u2d command to convert it to a dos format and then sending it to my email. The text comes out as on big stream instead of each

Re: Newlines in cygwin help please...

2007-04-12 Thread Kevin Markle
Eric Blake explained : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Kevin Markle on 4/12/2007 12:40 PM: u2d $DIR/$GROUP_summary.rpt REPORT=`cat $DIR/$GROUP_summary.rpt` Get me this: How did it get you that? Are you echoing the contents of $REPORT, or attaching the file $DIR

Re: Varibles not working in do loop...

2007-04-03 Thread Kevin Markle
Larry Hall (Cygwin) formulated on Monday : Andrew Louie wrote: On 4/2/07, Kevin Markle wrote: Larry Hall (Cygwin) expressed precisely : Kevin Markle wrote: What does this mean please and or would you send me your copy that works fine? $LOG == . In these cases, the hang is 'cat' waiting

Re: Varibles not working in do loop...

2007-04-03 Thread Kevin Markle
Dave Korn pretended : On 03 April 2007 15:07, Kevin Markle wrote: Larry Hall (Cygwin) formulated on Monday : Andrew Louie wrote: On 4/2/07, Kevin Markle wrote: Larry Hall (Cygwin) expressed precisely : Kevin Markle wrote: What does this mean please and or would you send me your copy

Re: Varibles not working in do loop...

2007-04-03 Thread Kevin Markle
Andrew Louie brought next idea : On 4/3/07, Kevin Markle wrote: There are 2 files related to each client listed in the file 1group_1a_dev_clientlist.out the first grep grabs both files and the second one get the specific log with the work windows in it: [EMAIL PROTECTED] /cygdrive/e/wsus

Re: Varibles not working in do loop...

2007-04-03 Thread Kevin Markle
Dave Korn wrote on 4/3/2007 : On 03 April 2007 15:46, Kevin Markle wrote: Dave Korn pretended : What are you *trying* to do with that second grep? There are 2 files related to each client listed in the file 1group_1a_dev_clientlist.out the first grep grabs both files and the second one

Re: Varibles not working in do loop...

2007-04-03 Thread Kevin Markle
Dave Korn presented the following explanation : On 03 April 2007 16:25, Kevin Markle wrote: Dave Korn wrote on 4/3/2007 : ***PING! lightbulb noise I bet you have dos line endings in your 1group_1a_dev_clientlist.out file. Thank you thank you and thank you that was it oh any

grep and exact matches help..

2007-04-03 Thread Kevin Markle
Hello, I can't seem to find a way to get grep to do exact matches in cygwin. I have looked at the man pages and can find nothing? :/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: grep and exact matches help..

2007-04-03 Thread Kevin Markle
In this search I want to get winops only not winops and winops-hq [EMAIL PROTECTED] /cygdrive/e/wsus/group_1a_DEV $ ls -al | grep winops -rwx--+ 1 Administrators 1079474 Apr 2 19:32 winops-hq_WINDOWSUpdate.log -rwx--+ 1 Administrators 18993 Apr 3 13:02

Varibles not working in do loop...

2007-04-02 Thread Kevin Markle
Hello, I'm running this script and line 19 works when I create the variablea and type the command at a shell prompt. But when I try to run it from within the for loop it does not return a value and hangs? Thanks! Kevin M $ more test_forloop.sh #FILE=`cat

Re: Varibles not working in do loop...

2007-04-02 Thread Kevin Markle
Larry Hall (Cygwin) expressed precisely : Kevin Markle wrote: Hello, I'm running this script and line 19 works when I create the variablea and type the command at a shell prompt. But when I try to run it from within the for loop it does not return a value and hangs? A doctored up version

Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Kevin Markle
I'm used to using putty in SUN and was able to highlight and right click to paste can I do this in cygwin? Thanks! Kevin M :o) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Kevin Markle
Keith Christian submitted this idea : Kevin Markle wrote: I'm used to using putty in SUN and was able to highlight and right click to paste can I do this in cygwin? I've been using PuTTY as a Cygwin terminal and it's fantastic - see below: http://web.gccaz.edu/~medgar/puttycyg/README.txt

Re: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Kevin Markle
Keith Christian explained : Kevin Markle wrote: I'm used to using putty in SUN and was able to highlight and right click to paste can I do this in cygwin? I've been using PuTTY as a Cygwin terminal and it's fantastic - see below: http://web.gccaz.edu/~medgar/puttycyg/README.txt

grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes $CLIENT and without. I don't know what else to try? :-( -- Unsubscribe info:

Re: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Kevin Markle
Dave Korn wrote : On 29 March 2007 19:43, Jeff Hawk wrote: -Original Message- From: On Behalf Of Dave Korn Sent: Thursday, March 29, 2007 11:37 AM Subject: RE: Is there any way to highlight to cut and past in cygwin? On 29 March 2007 16:43, Kevin Markle wrote: I'm used to using

Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Keith Christian brought next idea : Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes $CLIENT and without. I don't know what else to try

Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
Gary Johnson used his keyboard to write : On 2007-03-29, Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use the variable it fails? I have tryed with quotes $CLIENT and without. I don't know

RE: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Kevin Markle
Thanks! -Original Message- From: DePriest, Jason R. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 3:58 PM To: Kevin Markle; cygwin@cygwin.com Subject: Re: Is there any way to highlight to cut and past in cygwin? On 3/29/07, Kevin Markle wrote: Dave Korn wrote : On 29

Re: grep will not work with a variable?

2007-03-29 Thread Kevin Markle
It happens that Gary Johnson formulated : On 2007-03-29, Kevin Markle wrote: Gary Johnson used his keyboard to write : On 2007-03-29, Kevin Markle wrote: Hello, I'm trying to find a pattern in a file and the command works if I manully put the output of the variable in it but when I use

The /r error message while running a script?

2007-03-27 Thread Kevin Markle
Hello, I'm attempting to write a script in cygwin. When I copy the line from the script and run it from the command line it works. touch /cygdrive/e/wsus/wsus_update_report.out When I run the script it gives me this error: [EMAIL PROTECTED] /cygdrive/e/wsus $ ./patch.sh + ./patch.sh

Re: The /r error message while running a script?

2007-03-27 Thread Kevin Markle
Larry Hall (Cygwin) laid this down on his screen : Kevin Markle wrote: Hello, I'm attempting to write a script in cygwin. When I copy the line from the script and run it from the command line it works. touch /cygdrive/e/wsus/wsus_update_report.out When I run the script it gives me

It works...

2007-03-22 Thread Kevin Markle
I was able to finally get it to work. I had to remove the service, reboot the server to completly remove the cron service and then run the cron-config again. Thanks for all of the help! I think the toilet (my head) just needed to be flushed! -- Unsubscribe info:

Doing additions in cygwin?

2007-03-22 Thread Kevin Markle
Hello, I'm attemping to use the expr variable and am having problems. when I type test=expr 1+1 or test=`expr 1+1` or test='expr 1 + 1' or with and without quotes?? I just want to create a variable based on and expression? Thanks! Kevin M -- Unsubscribe info:

Re: It works...

2007-03-22 Thread Kevin Markle
Kevin Markle formulated on Thursday : I was able to finally get it to work. I had to remove the service, reboot the server to completly remove the cron service and then run the cron-config again. Thanks for all of the help! I think the toilet (my head) just needed to be flushed! Sorry I put

Re: Doing additions in cygwin?

2007-03-22 Thread Kevin Markle
After serious thinking Thrall, Bryan wrote : Kevin Markle wrote on Thursday, March 22, 2007 2:49 PM: Hello, I'm attemping to use the expr variable and am having problems. when I type test=expr 1+1 or test=`expr 1+1` or test='expr 1 + 1' or with and without quotes?? I just want to create

Re: Doing additions in cygwin?

2007-03-22 Thread Kevin Markle
It happens that Thrall, Bryan formulated : Kevin Markle wrote on Thursday, March 22, 2007 2:49 PM: Hello, I'm attemping to use the expr variable and am having problems. when I type test=expr 1+1 or test=`expr 1+1` or test='expr 1 + 1' or with and without quotes?? I just want to create

Re: Installing Cron on Windows 2003 Server...

2007-03-22 Thread Kevin Markle
Pierre A. Humblet expressed precisely : - Original Message - From: Kevin Markle To: cygwin Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting

Thanks for the help I apparently am missing something here......

2007-03-16 Thread Kevin Markle
Pedro Alves explained : Eric Blake wrote: Pedro Alves pedro_alves at portugalmail.pt writes: Dave Korn wrote: Ctrl+D is a better way to close the file actually. If you mean EOF, why not *say* EOF? Unless you type it one time too much, and ... uupps, there goes the shell :)

Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that there are tons of posts out relating to this but they all seem to offer different information. :o) I was wondering if anybody

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that there are tons of posts out relating to this but they all seem

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
René Berber submitted this idea : Kevin Markle wrote: Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
After serious thinking René Berber wrote : Kevin Markle wrote: Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Pierre A. Humblet explained : - Original Message - From: Kevin Markle To: cygwin Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Pierre A. Humblet pretended : - Original Message - From: Kevin Markle To: cygwin Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron

crontab and windows 2003

2006-08-09 Thread Kevin Markle
Hello, I'm attempting to setup crontab on a windows 2003 box and am having problems getting the jobs to run. I have tried running the service as a local administrater and domain admin and the service starts and stops and then tells me that some services will only start when needed. I have

RE: Cron problems with cygwin...

2005-07-27 Thread Kevin Markle
Thanks! -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:10 AM To: Kevin Markle Cc: cygwin@cygwin.com Subject: Re: Cron problems with cygwin... Kevin, http://cygwin.com/acronyms/#PPIOSPE. Thanks. I'm redirecting this reply

Re: Possible to use clipboard with remote/xdm connection?

2004-01-12 Thread Kevin Markle
Hello, I'm unable to get my DISPLAY variable to work. I use my IP address followed by:0.0. The message I get is that the server can't connect to the x11 server? If you have any experience in this I would appreciate the help. Chris Green [EMAIL PROTECTED] wrote in message news:[EMAIL