is there a way I can make the menu list reappear when I use select ?
-----
menulist="Change_title Remove_tag Change_tag Add_line Quit"
select word in $menulist #change_title remove_tag change_tag add_line quit
do
case $word in
# first menu option Change Title
... (9 Replies)
I have a dropdown menu built in perl tk (I am using active state perl). I want to select a value from the dropdown menu and I want to be able to perform some other actions depending upon what value is selected. I have all the graphical part made but I dont know how to get the selected value. Any... (0 Replies)
Hi!
My data file contains a two columns list. It looks like:
1 3.789
2 6.789
3 7.890
4 8.900
5 6.789
6 1.987
7 10.987
8 2.987
9 0.987
I would like to create a new list using the awk command, just selecting data from the second column but also printing the first column.
Let say I select... (3 Replies)
i m trying to write a script that will print all the txt files at /home/ directory
and will allow a selection of a file and then print the file name.
this is what i wrote so far:
echo "please select the file from the list "
list=$(ls -f *.txt /home/)
array=( )
for machine in $list
doat... (1 Reply)
Hi
I need help to configure AWK to find a string based From/To filed
I have a table like this
0A00 - 0AFF Nuts
0B00 - 0BFF Bolt
If I have in a program a value like "0B22" I wold like to get "Bolt" in return.
List are in Hex
Still try to learn AWK :) (3 Replies)
Hi,
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
/
grant execute on... (4 Replies)
I copied the below program to play around with displaying a list of items using the select command in ksh. When I put all items in the same line, it works fine. I am trying to use multiple lines instead of a single row...my list is too large for a single line. How do I get the line continuation... (3 Replies)
Hello
I have a large file1 which has many events like "2014010420" and following lines under each event that start with text . It has this form:
2014010420 num --- --- num ....
NTE num num --- num...
EFA num num --- num ...
LASW num num --- num... (9 Replies)
Hi
How can I extract sequences from a fasta file with respect a certain criteria? The beginning of my file (containing in total more than 1000 sequences) looks like this:
>H8V34IS02I59VP
SDACNDLTIALLQIAREVRVCNPTFSFRWHPQVKDEVMRECFDCIRQGLG
YPSMRNDPILIANCMNWHGHPLEEARQWVHQACMSPCPSTKHGFQPFRMA... (6 Replies)
I am trying to have the user select two files from a numbered list which will eventually be turned into a variable then combined. This is probably something simple and stupid that I am doing.
clear
echo "Please Select the Show interface status file"
select FILE1 in *;
echo "Please Select the... (3 Replies)
Discussion started by: dis0wned
3 Replies
LEARN ABOUT HPUX
kclog
kclog(1M)kclog(1M)NAME
kclog - manage kernel configuration log file
SYNOPSIS
config] string] type] name] [count]
comment
DESCRIPTION
is the administrative command for the HP-UX kernel configuration log file. The log file is automatically maintained by all of the kernel
configuration commands (and Any change to any kernel configuration gets logged to this log file, which is located at Note that this file is
a plain text file which can be viewed and manipulated using standard Unix file management commands; exists simply for convenience in find-
ing particular log file entries.
Under normal usage, prints the last count entries in the log file. When one of the options is specified, prints the last count entries
that match the specified criteria. If count is not specified, it defaults to 1.
Options
will print all entries matching criteria. If this option is not specified,
will only print the last count entries that match the specified criteria.
will print only log file entries describing changes to the saved
kernel configuration named config. If this option is not specified, will print log file entries describing changes to any
saved or running kernel configuration.
will not print any entries. Instead,
will create a new entry, as if a kernel configuration change had been made, containing the specified comment. This option
is only allowed for users with appropriate privileges.
will print only log file entries that contain the given
string.
will print only log file entries that refer to a configuration object
(module or tunable) of the given name.
will print only log file entries that refer to configuration objects
of the specified type: or
RETURN VALUE
returns zero for success. It returns non-zero and prints a diagnostic message if an error occurs.
EXAMPLES
To see the last three entries in the log:
To see the last entry for the tunable
To see the last five entries for module changes:
To see all entries for module changes:
To see the last entry mentioning Aberdeen:
WARNINGS
The format of the log file may be changed without notice.
Some configuration changes can be made without using the kernel configuration commands. No log file entries are made for such changes.
The log file should not be manually edited. Doing so may cause to behave unpredictably.
SEE ALSO kcmodule(1M), kconfig(1M), kctune(1M), kconfig(5).
available on
kclog(1M)