I wish to have a script which will check some file size, if the file size is over 80% out of the space, it will send alert to me through the email.
Can anyone give some idea how to do it ? thanks for advance !
#!/usr/bin/perl
opendir (PU, ".") || die "serious dainbramage: $!";
open(OUTPUTFILE,">list.txt") || die "Failed to open OUTPUTFILE, $!\n"...
Hi, I with to delete quote (") in a text file like below :
1243| "ABC" | test |
I tried to use s///, tr /// but failed to do it. Below is my script:
#usr/bin/perl
open(INFILE, "<client.txt") || die "can't open file;
while (<INFILE> ) {
open(OUTFILE...
I wish to sort a table dynamically using array.sort method. Below is my code, but it didn't work, can any one give help ???
--------------- Script ----------------------
<SCRIPT LANGUAGE="JavaScript"><!--...
Hi !
i have a table which include date, text, number in different column. Can any one sugget any sort function which is faster in term of the speed ?
(no bubble sort pls ....)
Actually i intend to use the Array.sort method, can any one give me a example or a working script which use this...
Hi !!! Below is a script which used to sort the data in a table. When u click one of the button, the other data in other column will be sorted. My problem now is the script is too big, i need to reduced the size. I think the most heaviest part is the exchange function which use bubble sort...
Hi ! I am new to Unix, so i need ur help ... thanks !
I use ksh shell script in HP-UX environment.
I have to write a script which do 3 things:
1. select some file from a directory
2. tar all these files into a file ( *.tar)
3. remove the file from the directory
The files which i look for...
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.