Search Results

Search: Posts Made By: elchalateco
51,936
Posted By elchalateco
I want to thank every one who contributed . ...
I want to thank every one who contributed .

Guys I offer an apology. The scritp does not work on my box at home; however it run perfectly at work.

Thanks again.

Frank
51,936
Posted By elchalateco
--------------------------------------------------...
--------------------------------------------------------------------------------checkinput()
{

echo $1 | grep -Eq '^(\+|-)?[0-9]+$'

return $?

}

The above function does not allow the...
51,936
Posted By elchalateco
Vishnu, YOU'R THE MAN! Thanks a million :)
Vishnu,
YOU'R THE MAN!

Thanks a million :)
51,936
Posted By elchalateco
They do not work.They returned 1. Thanks...
They do not work.They returned 1.

Thanks again.
51,936
Posted By elchalateco
I certanly apreciate all your help. but this: ...
I certanly apreciate all your help. but this:
checkinput()
{

echo $1 | grep '^(\+|-)?[0-9]+$'

return $?

}

doesn't work either. I'll keep tryng.

Thanks a million.
51,936
Posted By elchalateco
Sorry but that does not work. I have this...
Sorry but that does not work.

I have this script that is working except for negative integers or when someone enters a + infront of the integer.

Why isn't this accepting negative integers or...
51,936
Posted By elchalateco
Check if argument passed is an integers
How do I check if the argument passed to a script is an integer?

I am writting a script that will take to integers and want to be able to check before I go on.


I am using bourne shell.
...
1,983
Posted By elchalateco
Script not working correctly
I have a simple script that I want to run every 30 minutes but only when I execute it. I don't want it to be a crontab job.

so i have for example

date
ls -l
who
sleep 1800

The first time...
9,312
Posted By elchalateco
Thank you.
Thank you.
9,312
Posted By elchalateco
Delete line(s) from file
What is the easiest way to delete a line from a file?
I have a file that contains list for Domestic and Foreign customers.
I want to delete all lines staring with Foreing.

TIA
8,304
Posted By elchalateco
Script to count unique number of user loged in
Hi all, I am taking my first course in unix and having some problems.

I would line to create a scrip that does the following:

1) will tell me the number of users logged in. If a user is logged...
Showing results 1 to 11 of 11

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