Search Results

Search: Posts Made By: algernonz
1,466
Posted By algernonz
Thanks guys. Scrutinizer, you 've got a sharp...
Thanks guys.
Scrutinizer, you 've got a sharp eye!
I started my tests without the semicolon (like the one you showed; I just added the semicolon later.

But also without the semicolon the line...
1,466
Posted By algernonz
Some sed help pls
Hello,

I have made a list of files of which I want to remove strings beginning with <iframe and </iframe

When I run the script I see the files fly along and the strings being removed.
However,...
3,066
Posted By algernonz
Please, review script.
Hi guys,

I 've been brewing this shellscript, but I can't test it until next tuesday.
In the meantime I am too curious wether it will work or not, so I'd like to hear your comments.
...
8,202
Posted By algernonz
- "shutdown" is an executable script. Read it to...
- "shutdown" is an executable script. Read it to see what the script exactly is calling. In most cases "shutdown" first does a check on running processes and mounts, and then cleanly shuts them down...
4,371
Posted By algernonz
Hi, Thanks. To be sure: your piece of code...
Hi,
Thanks.
To be sure: your piece of code entirely replaced by this snippet?

while read num domain
do
if [ $num -ge 200 ] ; then
echo "postmaster@"$domain
fi
done <...
4,371
Posted By algernonz
#!/bin/bash while read num domain do if...
#!/bin/bash
while read num domain
do
if [ $num -ge 200 ] ; then
echo "postmaster@"$domain
fi
done < /export/home/john/columns.txt


columns.txt:

220 shoes.com
217 ...
4,371
Posted By algernonz
Thank you, I went past that error on line 4 now. ...
Thank you, I went past that error on line 4 now.
There seems to remain one last problem with the inputfile as you can see below. The file "columns.txt" is executed by the owner and perms are 755. ...
4,371
Posted By algernonz
Thanks Jim! While testing I bumped into this...
Thanks Jim!

While testing I bumped into this syntax error

./validate.sh: line 4: syntax error in conditional expression
./validate.sh: line 4: syntax error near `]'
./validate.sh: line 4: ` ...
4,371
Posted By algernonz
How to validate a column?
Dear guru's,

I am learning shellscripting and now I 'm struggeling with this problem:
When the number in the left column is equal or higer then 200, I want to send an email to "postmaster" @ the...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy