I want an automatic BCC in my mail and my problem is:
How do I find out if the Item is of instance,MailItem (Can be CalendarItem also)?
This is what I have so far:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim Tmp As MailItem
If item <what to write here?>...
Hi!
Normally when I want to delete everything in a file without deleting the file itself I do:
# >filename
However this doesnt work well when combinig it with rsh calls:
# rsh loghost >/var/adm/logfile
which will create a file on my local machine and then just hangs there...
To make it even...
Hi!
I just run into a small problem....
My script takes som parameters and at the end a filename
Is there a simple way to echo that last argument??
I tried different variations of echo "${$#}"
but it doesn't work
all help is useful...
/Roger
ps. my workaround is a loop with a shift statement...
Hi all!
I've written a script that greps for a string and outputs b lines before and a lines after.
> fblock STRING -b 2 -a 2 FILE
but now I would like to use it in a pipe like this:
> unzip -c enormous_log.gz | fblock STRING -b 2 -y a
How do I do that???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.