Search Results

Search: Posts Made By: csharp100
2,063
Posted By csharp100
F-key macro...
Hi everyone,
What I am trying to do is assign a F-key a macro to save a file in vi and display said file in firefox. The details are as follows:

I am using a Win 7 laptop with and ssh program to...
2,379
Posted By csharp100
Date calculation, a little different...
Hello eveyone, I am tasked to write an (n)awk script to calculate the days between dates. Now before anyone chastizes me on how many forums there are on date calculation, I have no seen one that...
3,623
Posted By csharp100
I believe I know where you are going. I used the...
I believe I know where you are going. I used the above for loop instead but I think you are pointing out the fact that some users might have there tty's turned off for receiving messages. Is that...
3,623
Posted By csharp100
Thanks and I got it, but I believe the $NAME...
Thanks and I got it, but I believe the $NAME should be \$NAME. That is the way it worked for me. I appreciate your help!
3,623
Posted By csharp100
Sure, the for loop but I could not get it to...
Sure, the for loop but I could not get it to work either. i.e.


echo "\nEnter time: "
read TIME
echo "\nEnter message: "
read MESSAGE
echo "\nEnter user(s): "
read LOGNAMES
at -k $TIME <<...
3,623
Posted By csharp100
The only thing I can think of is to write the...
The only thing I can think of is to write the message to the disk and then have the message read off the disk when the job is executed. I have done that before but my professor was not to keen on...
3,623
Posted By csharp100
I corrected this with a ">" and appreciate that. ...
I corrected this with a ">" and appreciate that.


I'm not really quite sure what you are telling me here. Are you saying that the message is not getting into the at command?
3,623
Posted By csharp100
Reminder script not working...
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
We have been...
5,041
Posted By csharp100
Got it! Here is the correct code. Still needs...
Got it! Here is the correct code. Still needs some efficiency put into it but it will work for the time being.

#!/usr/dt/bin/dtksh
# Alertme.p1 program, version 0.7
# Author - Clint Sharp
#...
3,736
Posted By csharp100
Makefile Tutorial...
Makefile Tutorial (http://mrbook.org/tutorials/make/) Should be able to help with no problems.
5,041
Posted By csharp100
Ok everyone, I am back. My problem this time is...
Ok everyone, I am back. My problem this time is the elm -s in the 2nd if loop is not working. I cannot get it to mail the message to me when I am offline. Here is my code:

# Alertme.p1 program,...
5,041
Posted By csharp100
Ok, so I got the last problem straightened out...
Ok, so I got the last problem straightened out and now I have another. It seems I am so close yet so far away. Here is my code;

#!/usr/dt/bin/dtksh
# Alertme.p1 program, version 0.5
# Author -...
5,041
Posted By csharp100
Yes on the alternative shell. I added a -k switch...
Yes on the alternative shell. I added a -k switch to:

at -k $TIME << !!

and now the ioctl error is gone.

Sorry about that Corona and I appreciate all your help! Kudos!
5,041
Posted By csharp100
The script should be korn ...
The script should be korn

#!/usr/dt/bin/dtksh


Sorry, for some reason I missed that in the cut and paste.
The system tells me:

commands will be executed using /bin/csh

Come to think of...
5,041
Posted By csharp100
I tried, write $LOGNAME < ~/Msgs/message.$$ >...
I tried,
write $LOGNAME < ~/Msgs/message.$$ > /dev/null 2>dev/null
and
write $LOGNAME < ~/Msgs/message.$$ > /dev/null 2>&1
I did take out the
|| mail $LOGNAME < ~/Msgs/message.$$
on both...
5,041
Posted By csharp100
That did not solve my problem. I may not have...
That did not solve my problem. I may not have explained it correctly so I will try again. The script is to send a reminder to me using the at command. If I am online, then it will write to me. If I...
2,199
Posted By csharp100
Try reading the man pages on sed and grep. It is...
Try reading the man pages on sed and grep. It is not as hard as you think. You can use the | (pipe) command.
5,041
Posted By csharp100
at reminder script
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
Hi everyone,...
4,675
Posted By csharp100
Thanks to all who helped. The conversation has...
Thanks to all who helped. The conversation has been interesting and informative.
4,675
Posted By csharp100
Sweet, thanks to all who helped. I did not use...
Sweet, thanks to all who helped. I did not use the back quote. Yes I have to say the conversation was very entertaining and informative as well.
4,675
Posted By csharp100
That is correct and is what I stated in my very...
That is correct and is what I stated in my very first post. As stated in the third post it is echoing the whole roster line. I am trying to loop through the whole roster file and trying to have the...
4,675
Posted By csharp100
Great that took care of the earlier problem, now...
Great that took care of the earlier problem, now I have another. My output is as follows:

log_name = $(echo user login name:full name: phone number:web site | cut -f1 -d: )

instead of just...
4,675
Posted By csharp100
While loop...
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
I am trying...
3,114
Posted By csharp100
[Solved] Shell script "whoson" sorta...
Shell script "whoson"

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and...
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 03:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy