Search Results

Search: Posts Made By: mikez104
1,572
Posted By mikez104
I'm sorry about the tags. Got all excited and...
I'm sorry about the tags. Got all excited and forgot. Thanks for the suggestions. I will give them a try.
1,572
Posted By mikez104
Text to column for one column
Looking for some help.

I have text file with data like this -
car red cobra 1.098 427
truck black f150 0 302

And I need to split apart the data to look like this.
car red cobra 1 . 0 9 8...
4,361
Posted By mikez104
I actually thought it was a flavor of Unix but...
I actually thought it was a flavor of Unix but just read a little about it and it does seem different. It's running on an nCUBE box. I tried to PM you the back story but I don't have enough posts....
4,361
Posted By mikez104
Methyl, Well, after I took out the quotes, it...
Methyl,
Well, after I took out the quotes, it works fine. Here is the working script. Yes, it is from the Bell Labs version. For some reason when those quotes were in there, it screwed...
4,361
Posted By mikez104
That is the actual script above. The only thing...
That is the actual script above. The only thing that I changed is the quotes like you suggested. Here is what the output looks like when run. The first line is from the echo and the rest is from...
4,361
Posted By mikez104
I changed the quotes and no dice. I put that...
I changed the quotes and no dice. I put that echo statement in before the ping command so I could see if the variables were correct because the ping command dosent show me what I put in. So the...
4,361
Posted By mikez104
Using ping in script
Hi. I have a server with multiple network ports that need to be tested to a list of destinations. I'm trying to write a scripts to automate this but can't seem to get past an error and could use...
9,297
Posted By mikez104
You guys are great. I subsituted some stuff and...
You guys are great. I subsituted some stuff and here is what I got

total=`grep LOI 1*.* | cut -d" " -f 13 | wc -l`
echo "$total"
failed=`grep LOI 1*.* | cut -d" " -f 13 |grep 0002| wc -l`
echo...
9,297
Posted By mikez104
I can't divide properly in shell
I'm new at this and frustratd because I know this must be simple but here goes. I'm trying to write a script that will give me the percentage of a particular field over multiple text files.

Each...
Showing results 1 to 9 of 9

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