Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lend a hand - script repository

Status
Not open for further replies.

mrn

MIS
Apr 27, 2001
3,993
GB
I'm toying with the idea of building a script repository, full of scripts that are actually some use, anyone fancy lending a hand?


Mike --
| Mike Nixon
| Unix Admin
| ----------------------------
 
Yes, sounds interesting. What kind of thing do you have in mind? Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Ok, that sounds good.... Mike? Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
looks like a good start, how long will it be before we can upload scripts etc? Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
I can probably have it setup in a few days.
I am fairly handy with the layout for the web pages,
but I'm not sure the best way to let people
dynamically upload scripts, and if they first
should be reviewed by someone.
I wouldn't want someone to upload
a script that did a rm -rf / or something else
malicious. I am open to suggestions.

Robert Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
Upload into a holding area and then you review it sounds good, you could pass stuff you're not familiar with onto some other people I guess. prob not good plan (given how good Outlook is a running things) to let people email you scripts on a regular basis. Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
I have setup anonymous ftp so you should
be able to upload scripts.

ftp jordan2000.com
user: anonymous
pass: email address i.e robert@jordan2000.com

I would appreciate an email if you upload files
We also will need a template for script headers.
I currently use this format, but am open to suggestions.

#!/usr/bin/ksh
# Name: findit
# Date: 2/08/2002
# Updated: 3/08/2002
# Version: 1.7
# Author: Robert G. Jordan Robert@JORDAN2000.com
# Description: find files by name, size, date, time or text withinin a file
# To Run: findit (an interactive menu will launch)
# Notes: see VARIABLE section for configuration

Robert Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
Ok, I'll probably be putting a script on there this evening :) Your headers look ok to me, though I will be adding a Modification History section at the end.

Would this be ok? (All my histories look like this :))
[tt]
#
# Rev When Who What
# --- ----------- ---------- ----------------------------
# 002 14/May/2001 Mike Lacey Yet More Bug fixes
# 001 13/May/2001 Mike Lacey Bug fixes
# 000 12/May/2001 Mike Lacey Original version
#
[/tt] Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top