06-06-2007
If you are planning to release the code of your program to the rest of the world, then a demo version is redundant. If not, then you can generate a key when the program is installed and store it in some file. You can check for that file's checksum and timestamps when the file is written to and then on subsequent runs, your program should check the file and refuse to run if the checksum/size or the timestamp changes in any way.
For a user, it would be a bit more complicated, but you could go along similar lines.
6 More Discussions You Might Find Interesting
1. Programming
I have written following code to do: ls -l | wc -w, it works:
but when there are not only a single "|", if there are more such as:
ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies
2. Solaris
Hi... Iam new members at this forum. and I have a little problem with "command ping"
what the "command to ping at limited time", for example
at linux
$ping -c5 10.0.0.62 and the responed as below:
64 bytes from 10.0.0.62: icmp_seq=1 ttl=128 time=0.843 ms
64 bytes from 10.0.0.62: icmp_seq=2... (3 Replies)
Discussion started by: srilinux
3 Replies
3. UNIX for Advanced & Expert Users
Hey all,
I have a shell that invokes a AWK.
In this AWK i want invoke a function that receives 3 parameters:
date: 20080831
time: 235901
duration: 00023
that function receive this 3 parameters and sum to this value two more seconds:
2008083123590100025
Remember that in case that... (3 Replies)
Discussion started by: anaconga
3 Replies
4. Shell Programming and Scripting
Dear friends, following is the output of a script from which I want to remove spaces and new-line characters.
Example:-
Line1 abcdefghijklmnopqrstuvwxyz
Line2 mnopqrstuvwxyzabcdefghijkl
Line3 opqrstuvwxyzabcdefdefg
Here in above example, at every starting line there is a “tab” &... (4 Replies)
Discussion started by: anushree.a
4 Replies
5. AIX
Anyone know what is the function of user "pconsole" and "esaadmin" on AIX version 6? (1 Reply)
Discussion started by: ebab3
1 Replies
6. UNIX for Dummies Questions & Answers
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies
IMPLOG(8) System Manager's Manual IMPLOG(8)
NAME
implog - IMP log interpreter
SYNOPSIS
/usr/sbin/implog [ -D ] [ -f ] [ -c ] [ -r ] [ -l [ link ] ] [ -h host# ] [ -i imp# ] [ -t message-type ]
DESCRIPTION
Implog is program which interprets the message log produced by implogd(8C).
If no arguments are specified, implog interprets and prints every message present in the message file. Options may be specified to force
printing only a subset of the logged messages.
-D Do not show data messages.
-f Follow the logging process in action. This flags causes implog to print the current contents of the log file, then check for new
logged messages every 5 seconds.
-c In addition to printing any data messages logged, show the contents of the data in hexadecimal bytes.
-r Print the raw imp leader, showing all fields, in addition to the formatted interpretation according to type.
-l [ link# ]
Show only those messages received on the specified ``link''. If no value is given for the link, the link number of the IP protocol
is assumed.
-h host#
Show only those messages received from the specified host. (Usually specified in conjunction with an imp.)
-i imp#
Show only those messages received from the specified imp.
-t message-type
Show only those messages received of the specified message type.
SEE ALSO
imp(4P), implogd(8C)
BUGS
Can not specify multiple hosts, imps, etc. Can not follow reception of messages without looking at those currently in the file.
4.2 Berkeley Distribution November 16, 1996 IMPLOG(8)