hi guys i have a problem here, im trying to stablish a relationship between a text file and an input user for example the script is going to prompt the user for some football team and what the script is going to do is return the colums in which that input is located so far this is what i have ... (6 Replies)
Dear All,
I have a file containing info like
TID:0903 asdfasldjflsdjf
TID:0945 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh
TID:1945 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh
I need to show only lines containing
TID:0903 asdfasldjflsdjf
TID:0945 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh
TID:2045 hjhjhkhkhkh
... (11 Replies)
I have my data something like this
I need to search for the keyword yyyy in the susequent lines and if it is present, delete the second line with keyword.
In other words, if a keywords is found in two subsequent lines delete the second line.
input data:
aaaa bbbbb cccc dddd
xxxx... (4 Replies)
You have two files to compare by searching keyword from one file into another file
File A
23 >pp_ANSWER
24 >aa hello
25 >jau head wear
66 >jss oops
872 >aqq olps ploww oww sss
722 >GG_KILLER
..... large files
File B
Beta done
KILLER
John Mayor
calix meyers
... (5 Replies)
Hello all,
I'm trying to find some tool on generating reports based on apache access_log files (of Common format).
I found some of them (awstats, lire/logreport, weblog expert, apache logs viewer, etc..) but they generate some global and general report about the log file.
Also some perl... (0 Replies)
Hi,
I have a file which got only one column and got some keywords. I have another file where the keywords used in the first file are repeated in the second file.
Now I would like to know how many times each keyword from the first file is repeated in the second file.
Request your help on... (1 Reply)
Hello,
I need a shell script which takes search keyword as input and then searches logs in six different servers and provide me the logs where in it found the keyword.
Can anyone help???? (1 Reply)
What is the best way (bash/awk/sed?) to read in two text files and do a keyword search/replace?
file1.txt:
San Francisco
Los Angeles
Seattle
Dallas
file2.txt:
I love Los Angeles.
Coming to Dallas was the right choice.
San Francisco is fun.
Go to Seattle in the summer.
... (3 Replies)
Hi
I want to implement something like this:
if( keyword1 exists)
then
check if(keyword2 exists in the same line)
then replace keyword 2 with New_Keyword
else
Add New_Keyword at the end of line
end if
eg:
Check for Keyword JUNGLE and add/replace... (7 Replies)
Some search results for the keyword "unix" searches:
DuckDuckGo #1
https://www.unix.com/members/1-albums215-picture1254.png
Bing #2
https://www.unix.com/members/1-albums215-picture1253.png
Google #15 (page 2)
https://www.unix.com/members/1-albums215-picture1252.png (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT DEBIAN
prophet::web::menu
Prophet::Web::Menu(3pm) User Contributed Perl Documentation Prophet::Web::Menu(3pm)NAME
Prophet:Web::Menu - Handle the API for menu navigation
METHODS
new PARAMHASH
Creates a new Prophet::Web::Menu object. Possible keys in the PARAMHASH are "label", "parent", "sort_order", "url", and "active". See the
subroutines with the respective name below for each option's use.
label [STRING]
Sets or returns the string that the menu item will be displayed as.
parent [MENU]
Gets or sets the parent Prophet::Web::Menu of this item; this defaults to null. This ensures that the reference is weakened.
sort_order [NUMBER]
Gets or sets the sort order of the item, as it will be displayed under the parent. This defaults to adding onto the end.
link
Gets or set a Jifty::Web::Link object that represents this menu item. If you're looking to do complex ajaxy things with menus, this is
likely the option you want.
target [STRING]
Get or set the frame or pseudo-target for this link. something like _blank
class [STRING]
Gets or sets the CSS class the link should have in addition to the default classes. This is only used if "link" isn't specified.
url
Gets or sets the URL that the menu's link goes to. If the link provided is not absolute (does not start with a "/"), then is is treated as
relative to it's parent's url, and made absolute.
active [BOOLEAN]
Gets or sets if the menu item is marked as active. Setting this cascades to all of the parents of the menu item.
child KEY [, PARAMHASH]
If only a KEY is provided, returns the child with that KEY.
Otherwise, creates or overwrites the child with that key, passing the PARAMHASH to "new" in Jifty::Web::Menu. Additionally, the
paramhash's "label" defaults to the KEY, and the "sort_order" defaults to the pre-existing child's sort order (if a "KEY" is being over-
written) or the end of the list, if it is a new "KEY".
active_child
Returns the first active child node, or "undef" is there is none.
delete KEY
Removes the child with the provided KEY.
children
Returns the children of this menu item in sorted order; as an array in array context, or as an array reference in scalar context.
render_as_menubar [PARAMHASH]
Render menubar with YUI menu, suitable for an application's menu. It can support arbitary levels of submenu.
as_link
Return this menu item as a "Jifty::Web::Link", either the one we were initialized with or a new one made from the "/label" and "/url"
If there's no "/url" and no "/link", renders just the label.
perl v5.10.1 2009-12-22 Prophet::Web::Menu(3pm)