Exforsys

Online Training

Want to Remove Command

This is a discussion on Want to Remove Command within the Shell Programming forums, part of the Operating Systems category; I have written number of shell scripts for managing the process of administration and now I am in the process ...


Go Back   Exforsys > Operating Systems > Shell Programming

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-18-2007, 03:05 PM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Want to Remove Command

I have written number of shell scripts for managing the process of administration and now I am in the process of testing these shell scripts. But what I did when I wrote these shell scripts was I placed mail sending option using rmail for sending mails to users. But now when I am making the overall testing of these scripts I must not have the mail commands in all these scripts. I cannot individually go to each of these scripts and remove all these as I have thousands of scripts and removing the rmail command from each of these thousands scripts is a cumbersome task. Suggest me a easy option for removing this rmail command from all of my shell scripts so that I can test the overall process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-19-2007, 03:32 PM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
If you think deeply you would get that rmail is a sub process of emacs system. So to handle something with rmail we can do that equivalently in the bigger process namely emacs system. Instead of removing the rmail command you can disable the rmail command from all the shell scripts you have. So place the disabling command of rmail, in the emacs system and you would
have your rmail command from all of your shell scripts disabled.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
comp.cad.autocad AutoLISP FAQ (part 2/2) - samples, code Reini Urban Tech FAQ 0 06-01-2004 05:30 AM
comp.cad.autocad AutoLISP FAQ (part 2/2) - samples, code Reini Urban Tech FAQ 0 05-01-2004 05:30 AM
Quarterly ASCII posting of Caldera (SCO) OpenUNIX 8 FAQ Boyd Lynn Gerber Tech FAQ 0 04-25-2004 10:11 PM
vi editor FAQ (Frequently Asked Question List), Part 1/2 E. Larry Lidz Tech FAQ 0 04-19-2004 12:02 AM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 07:26 AM


All times are GMT -4. The time now is 03:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.