Search Results

Search: Posts Made By: Warrior232
6,632
Posted By Warrior232
I figured it out grep -i $compnumber $compdate...
I figured it out grep -i $compnumber $compdate $model $manufacturer $price $compfile 2>&1 4>&-; echo "exitCode=$?" >&4;
6,632
Posted By Warrior232
This is the output the I get from below code....
This is the output the I get from below code. However I still dont get the "No Matching Records Found" when a record does not exist.

UsedComputersRUs Menu- Search Computer
...
6,632
Posted By Warrior232
Same error message UsedComputersRUs Menu-...
Same error message

UsedComputersRUs Menu- Search Computer
======================================
Enter computer to search for: sony

grep can't open 4...
6,632
Posted By Warrior232
I get same error. That is way asked where to...
I get same error. That is way asked where to place the new code. I was testing it before an I keep on getting the same error. I don't understand what the error message states.
6,632
Posted By Warrior232
Could please tell were to specifically put the...
Could please tell were to specifically put the could you gave. I have no idea where to put the code.


compfile=~/sample_data.txt
clear
bold=`tput smso`
offbold=`tput rmso`
echo $bold
tput...
6,632
Posted By Warrior232
Once I remove the |tr ':" everything works fine....
Once I remove the |tr ':" everything works fine. However the program is required to output the records without the colon. Since this is how each records is divided in the text file.
6,632
Posted By Warrior232
The following changes were done to my script, but...
The following changes were done to my script, but still I dont get any message to appear once a search does not equal a record.


compfile=~/sample_data.txt
clear
bold=`tput smso`
offbold=`tput...
6,632
Posted By Warrior232
I tested it acouple of times and still. nothing...
I tested it acouple of times and still. nothing appears when, a search does not match a record.
6,632
Posted By Warrior232
Simple ksh script problem
This is a search script that I have developed. It finds the records that I look for. However the only thing I want the program to do now is to display a message such as 'Not Found' to appear when a...
Showing results 1 to 9 of 9

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