10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I am pulling my hair out here. I have a file that comes in, once it finishes i want to move it to a new location. This sounds all very easy but my solution is failing and moves the file before it has finished generating.
isrun=`ps -ef | grep -i filename | grep -v grep | wc -l`
... (8 Replies)
Discussion started by: twinion
8 Replies
2. Shell Programming and Scripting
Hi,
I am in a terrible emergency. I have multiple cdr files with line count >6000.
I need to append |0| | | | | | | |random| to end of each line. The random number should never repeat.
Please help with a shell script to process all cdr's in a directory with above requirement. (23 Replies)
Discussion started by: shiburnair
23 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Please give me an idea on how to achieve the below using a unix script.
From our source team we are getting files with in-proper delimiters because of which our data load is failing to avoid this we want to generate dynamic scripts as below.
Read the no of delimiters(which is dynamic... (6 Replies)
Discussion started by: mora
6 Replies
4. Shell Programming and Scripting
Hello Friends,
I need to examine a huge CDR file according to a complex (at least for me) condition like below and i couldnt write anything :(
In CDR file there are more than hundreds of fields, I need to print the rows which matches the below condition:
while $13 field of subsequent... (9 Replies)
Discussion started by: EAGL€
9 Replies
5. UNIX for Advanced & Expert Users
hi,
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
<?php
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
0 Replies
6. Shell Programming and Scripting
Hello Gurus,
We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this .
Problem Definition:
/Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
19 Replies
7. Shell Programming and Scripting
I am trying to find for the pattern in first 5 bytes of every line in a text file and then generate a new file with the pattern found.
Example: expected pattern is '-' to be serached in first 5 bytes of file only.
Input File
ab-cd jan-09
ddddd jan09
cc-ww jan09
dsgdq jan-09
... (2 Replies)
Discussion started by: net
2 Replies
8. Shell Programming and Scripting
Dear Freind
in the file attached how parse the data to be like a normal table
:D (3 Replies)
Discussion started by: saifsafaa
3 Replies
9. Shell Programming and Scripting
Forgive the daft requests - I'm still a learner :D
I need a script so that I can test another script (I'm confused already) The script I am looking for should generate a new file in the same directory (called newfile1 or what ever) and also generate text within the new file (Hello world? What... (1 Reply)
Discussion started by: JayC89
1 Replies
10. Filesystems, Disks and Memory
ive looked around for software to do this in linux, but am still not sure how to. i want to be able to mount a cdr and write to it and be able to take the disk out and finish writing whatever i want to it at a later time. can we do this in linux? (4 Replies)
Discussion started by: norsk hedensk
4 Replies
MAIN(3) 1 MAIN(3)
main - Dummy formain(3)
There is no function named main(3) except in the PHP source. In PHP 4.3.0, a new type of error handling in the PHP source
(php_error_docref) was introduced. One feature is to provide links to a manual page in PHP error messages when the PHP directives
html_errors (on by default) and docref_root (on by default until PHP 4.3.2) are set.
Sometimes error messages refer to a manual page for the function main(3) which is why this page exists. If you discover such a reference,
please file a bug report, indicating the PHP function caused the error that linked to main(3) and it will be fixed and properly documented.
Known errors that point to main(3)
+----------------+-----------------------------+
| Function name | |
| | |
| | No longer points here as of |
| | |
+----------------+-----------------------------+
| include(3) | |
| | |
| | 5.1.0 |
| | |
|include_once(3) | |
| | |
| | 5.1.0 |
| | |
| require(3) | |
| | |
| | 5.1.0 |
| | |
|require_once(3) | |
| | |
| | 5.1.0 |
| | |
+----------------+-----------------------------+
html_errors, display_errors.
PHP Documentation Group MAIN(3)