9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Folks -
I have the following peice of code that I believe is uncecesarily long and I modified it to shorten it up. I was hoping one could comment and confirm my approach was acceptable?
Original:
if
then
pushd "${_INTRAPATH}"
#Search for lines in... (1 Reply)
Discussion started by: SIMMS7400
1 Replies
2. What is on Your Mind?
Hi,
I changed the logout code to just simply log out and go back to the page you were viewing:
Was (ending code):
eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options, $vbulletin->session->vars), '', false));
Now:
$goto = "Location:... (0 Replies)
Discussion started by: Neo
0 Replies
3. Shell Programming and Scripting
Hi All,
I have a file like below
Topic:price PartitionCount:5 ReplicationFactor:3 Configs:
Topic: price Partition: 0 Leader: 13 Replicas: 13,15,11 Isr: 11,13
Topic: price Partition: 1 Leader: 14 Replicas: 14,11,12 Isr: 11,12,14
... (4 Replies)
Discussion started by: manas_ranjan
4 Replies
4. Shell Programming and Scripting
Hi,
The below awk script that i did is working fine. It gives me the results that i want. But, the script is not smart and very long as i have 8 conditions to meet. The sample script below only show 2 conditions.
awk 'BEGIN{FS=OFS=" ~ |\t"}
{if (($7>$9) && ($6>$8)){
Ql= $7-$6;
Sl=... (6 Replies)
Discussion started by: redse171
6 Replies
5. Shell Programming and Scripting
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Discussion started by: antman
9 Replies
6. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
7. Web Development
Hi
Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally.
Any ideas?
Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies
8. UNIX for Dummies Questions & Answers
Good afternoon,
I wonder how i could use unix commands to ease the reading of long command result output ?
like the "php -i" or any other command that returns a long answer.
I could not find the right terms to Google it or search the forum. Therefore I bother you with this question.
... (3 Replies)
Discussion started by: Mat_k
3 Replies
9. Linux
Hi,
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies