10-09-2018
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I put a my PC with linux 7.0 on a class B network.
Can someone give me info or text that will guide me? (1 Reply)
Discussion started by: Rush
1 Replies
2. Programming
Any one tried puting breakpoint while debugging a core file? I have been using a gdb for running it.. But unsuccessful to put a breakpoint before executing it. Any sugestion or tool for doing it would be welcomed..
Thanks :) (0 Replies)
Discussion started by: jyotipg
0 Replies
3. UNIX for Dummies Questions & Answers
I was sure there was a way to put a timestamp ina logfile but I can't seem to figure out how.
What I would like to do is after the last messages in the rptmgr.err log is put a timestamp so I know the next time I look whats new. I am using AIX 5.1
any help will great
Thanks (2 Replies)
Discussion started by: rocker40
2 Replies
4. UNIX for Dummies Questions & Answers
How do I put wallpaper from the internet on the Unix desktop? For example, I want to know how to perform the same operation as "right click-> Set as Wallpaper" on a graphics on a web page, in Windows.
Thanks! :rolleyes: (3 Replies)
Discussion started by: pireifej
3 Replies
5. Shell Programming and Scripting
I need to separate Pascal style identifiers (TheyLookLikeThis) into words separated by an underscore (_).
I've tried sed 's//&_&/' but this won't work (obviously). I'd love some help. (4 Replies)
Discussion started by: Ilja
4 Replies
6. UNIX for Dummies Questions & Answers
Hello, I was just reading around these forums when I had an idea, without being able to really answer my question for myself due to some circumstances, so hopefully someone can give me a hand. I have an old desktop PC that has served me very well. I got an Asus G73JH though, so I mostly used the... (2 Replies)
Discussion started by: Patriots12
2 Replies
7. Programming
I want to make a program where you have to insert binary numbers like this:
do
{
iBinary = getche();
}while(iBinary == 1 || iBinary == 0);
after you get the numbers I want them to be placed behind eachother so you will get:
input:
1
1
0
1
output:
1101 (7 Replies)
Discussion started by: metal005
7 Replies
8. Shell Programming and Scripting
Hi,
I generated many figures in .png format (approximately 120). Right now I need to pair the figures on a single page so that the files with the same file name (i.e. jack) that end with .matrix.png are placed on the left and .cdt.png is on the right (so jack.matrix.png with jack.cdt.png... (6 Replies)
Discussion started by: kylle345
6 Replies
9. UNIX for Dummies Questions & Answers
Hello ,
I am searching a directory for a file and have to assign the filename to a variable .
The variable must have form $$filename
So my code is
echo "'$$filename='`ls -lrt *PreMatch*.csv| head -1 | nawk '{print $9}'`"
however $$ is converting to a number .
How could I make it $$... (3 Replies)
Discussion started by: Pratik4891
3 Replies
10. Shell Programming and Scripting
I already manage to get the output that i want.. but wat if removing all the pipes and convert it 1 liner with less pipes. My command below can get the ouput that i want. i just want to remove the pipes or less pipes.
#cat file1
us-west-2a running i-3397a421... (2 Replies)
Discussion started by: kenshinhimura
2 Replies
YAZ_HITS(3) 1 YAZ_HITS(3)
yaz_hits - Returns number of hits for last search
SYNOPSIS
int yaz_hits (resource $id, [array &$searchresult])
DESCRIPTION
yaz_hits(3) returns the number of hits for the last search.
PARAMETERS
o $id
- The connection resource returned by yaz_connect(3).
o $searchresult
- Result array for detailed search result information.
RETURN VALUES
Returns the number of hits for the last search or 0 if no search was performed.
The search result array (if supplied) holds information that is returned by a Z39.50 server in the SearchResult-1 format part of a search
response. The SearchResult-1 format can be used to obtain information about hit counts for various parts of the query (subquery). In par-
ticular, it is possible to obtain hit counts for the individual search terms in a query. Information for first subquery is in $array[0],
second subquery in $array[1], and so forth.
searchresult members
+--------------------+---------------------------------------+
| Element | |
| | |
| | Description |
| | |
+--------------------+---------------------------------------+
| | |
| id | |
| | |
| | Sub query ID2 (string) |
| | |
| | |
| count | |
| | |
| | Result count / hits (integer) |
| | |
| | |
| subquery.term | |
| | |
| | Sub query term (string) |
| | |
| | |
|interpretation.term | |
| | |
| | Interpretated sub query term (string) |
| | |
| | |
|recommendation.term | |
| | |
| | Recommended sub query term (string) |
| | |
+--------------------+---------------------------------------+
Note
The SearchResult facility requires PECL YAZ 1.0.5 or later and YAZ 2.1.9 or later.
Note
Very few Z39.50 implementations support the SearchResult facility.
PHP Documentation Group YAZ_HITS(3)