I can't remeber why this happens or how to fix it. but when I have info in and array and parse it with a foreach loop them push the line into an new array then print it does it do some thing like this
info
info2
info3
info4
info5
1st is flush and the all the rest of the lines are 1 space...
I'm writing a script to check mail quota for each user and warn them accordingly. I ran into a problem when i tried to compare a user list from the passwd file to the listed boxes in /var/mail. I want to eliminate out of the passwd list what i not in the /var/mail list. i have pushed one list in...
I have a situation where I'm getting the file sizes from a directory using du -ks and I split the line into numbers and directories. In the variable representing the numbers they are all left aligned and I want them to be right aligned. how do I do this ?
Please tell me how to do this. here is an example of the current part of the script i'm working with. If I paste a small paragraph from note pad in windows it chops at the 1st carriage return. How do I make SDTIN accept the whole paragraph?
print "What will the subject be[]?"...
Hi, does perl have a module to help me with a small problem on date changing.
I have a script which zips up archived log files and names them with the date minus 1 since the logs are from the previous day. The issue here is when I get to the 1st day of the next month the file would be called...
I have a problem which I have tried many different thing to solve it and failed.
I am pushing info from a join statement
@vhostsall =`du -ks *`;
foreach (@vhostsall){
($f1,$f2) = split (/\s+/,$_);
$vall = join ("","(directory)",$f2,"...
My Vp's outlook 2000 will hang ocassionaly on startup and today it loaded and she could not get to one of the extra remote folders, that caused it to hang. Nothing in drwaston.
Help!!
Proc mail is my local delivery agent. One of my boxes has a .procmailrc file which is set up to forward all mail to a different folder. it does not work. here is the formula.
:0
* ^FROM *
! /usr/local/etc/mail/stuff
any suggestions?
If I were to write a scripts where I wanted to open my httpd.conf file and add a virtual tag, how do I tell it to write any where but the eof? Also not by line number.
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.