Search Results

Search: Posts Made By: k@ssidy
3,666
Posted By k@ssidy
javascript onClick help
I have two radio buttons with corresponding text boxes for input, when one is chosen I am disabling the text box for the other, is there a way to "gray out" the disabled text box using...
1,463
Posted By k@ssidy
are there any options you can add to the grep to...
are there any options you can add to the grep to also make it search the subdirectories?
1,463
Posted By k@ssidy
string search
Is there a command where I can search my current directory and return all files with the string 'tcAccount' in them? I can't remember all of the modules that I used it in and I need to change it, I...
6,797
Posted By k@ssidy
yes, that was the easiest way to accomplish this...
yes, that was the easiest way to accomplish this task, I created a file when my script began processing and removed it before the script exited, then I just put a check in to see if the file was...
6,797
Posted By k@ssidy
the fuser script works, sort of, I put it into my...
the fuser script works, sort of, I put it into my script, I start one instance of the program and it appears to work fine but it never finishes, it just hangs on the last step of the prog, if I start...
6,797
Posted By k@ssidy
I thought you were right about adding the grep -v...
I thought you were right about adding the grep -v grep part but it is always returning process already running and it exits out. I can't seem to get a grasp on the fuser option either but I am still...
6,797
Posted By k@ssidy
what about something like this: if [ -n...
what about something like this:

if [ -n "$(ps -ef | grep user | grep prog.sh)" ]
then
echo " Process is already running"
exit 0

it apparently throws me into an infinite loop and I must...
6,797
Posted By k@ssidy
process check
does anyone know an easy way that at the beginning of your script you check to see if that process is already running? I think it would have something to do with ps but I may be making it more...
5,973
Posted By k@ssidy
that is very interesting and helpful, thank you,...
that is very interesting and helpful, thank you, I'm new to this and have been mainly working with grep and awk, the introduction to sed is welcomed, I'm trying to learn as much as I can. Thanks!
5,973
Posted By k@ssidy
assigning variables
Before I even attempt this, is it possible to grep for a pattern, maybe a partial sentence like "go to page 3", assign that to a variable and then use awk or something to pull out the 3 and assign it...
6,555
Posted By k@ssidy
excellant! I was heading in the right direction...
excellant! I was heading in the right direction but it is very hard to learn all of the syntax of useful commands quickly, thanks for your help, you helped me a lot and taught me more about some very...
6,555
Posted By k@ssidy
C| |00000009| |00000000| so in other...
C| |00000009| |00000000|

so in other words, i'm counting in one file the number of time s pattern comes up and i want to see if that number matches the number in field 3, in this case it's 9,...
6,555
Posted By k@ssidy
i guess i wasn't specific enough, the compare is...
i guess i wasn't specific enough, the compare is a little complicated. In one file i am counting the instances of the pattern with grep -c and i want to compare that count to the value in field 3 of...
6,555
Posted By k@ssidy
compare grep?
is there any way to compare two grep commands in an if statement? like:

if grep blah = grep blah blah
then

is there a way to store the values of the greps and compare them? the greps are...
17,865
Posted By k@ssidy
thanks, that did the trick, those nasty spaces!...
thanks, that did the trick, those nasty spaces! appreciate the help!
17,865
Posted By k@ssidy
awk: syntax error near line 1 awk: bailing out...
awk: syntax error near line 1
awk: bailing out near line 1
Tue 06/14/05 12:16:57 : Loading Database
17,865
Posted By k@ssidy
sorry, those single quotes didn't do the trick...
sorry, those single quotes didn't do the trick either.
17,865
Posted By k@ssidy
changing the single quotes to double did not fix...
changing the single quotes to double did not fix the error, sorry
17,865
Posted By k@ssidy
why? I honestly don't know why echo is correct,...
why? I honestly don't know why echo is correct, please explain.
17,865
Posted By k@ssidy
awk syntax error
can anyone see the awk syntax error near line 1? I keep getting this error and I'm not familiar with awk very well yet so it is hard for me to see the errors.
fyi: deleteuser* refers to files in...
3
awk
2,085
Posted By k@ssidy
awk
okay, I am really having trouble with awk, I can't get it to do what I want. Can I make awk look in a folder, and open a file, in this file there are four fields but I only want to load two of them...
2,562
Posted By k@ssidy
sorry, just saw the reply about "field 1", it is...
sorry, just saw the reply about "field 1", it is actually field 4 so will $4 tell it to look in the 4th field for the chars?
2,562
Posted By k@ssidy
wait a minute, how does the command know which...
wait a minute, how does the command know which field to look in for the alphabetic character? The other columns are alphanumeric, what distinguishes on which gets deleted?
2,562
Posted By k@ssidy
can I output it to a file of the same name as the...
can I output it to a file of the same name as the input, as in, overwrite the old file with the new one minus alphabetic indexes?
2,562
Posted By k@ssidy
delete line
okay, in my script, I want to do a check on the index field of my table, if the index = A then I want to delete that line (my table only wants numeric indexes) in the file (the rest of the lines are...
Showing results 1 to 25 of 31

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