I cannot seem to get this text file to format. Its as if the awk statement is being treated as a simple cat command.
I manned awk and it was very confusing. I viewed previous posts on this board and I got the same results as with the
the awk command statement shown here. Please help.
... (6 Replies)
Hi all
i have 2 input files
1st file is
N1 | N2|N3|N4|N5|N6|N7|N8|N9
4041491000|245160|1|0|0|1|0|0|0
4041401505|152178|1|1|1|1|0|0|0
4041450004|014052|1|1|1|1|0|0|0
4041450005|580916|1|1|1|1|0|0|0
4041491000|230990|1|0|1|1|0|0|0
4041460001|338317|1|1|1|1|0|0|0
2nd file
N1 |... (8 Replies)
Hi All,
Can any one solve this prob.
Im sending a textfile content as a mail body while sending a mail using shell script.
But, that textfile content is a unic command output.
So, in mail, im not getting the correct alignment as in textfile.
What may be the reason behind this.
Can... (1 Reply)
Hi
I have the following output
Message man amm (9196) is calling
Hello & Alert man amtrr (9197) is stopped
Find amfi (19198) is cancelled
Engine Item aea (19203) is notified
Engine Item2 aea2 ... (8 Replies)
Hi,
I have a string in log file from that i need to pick the username.
the string is like this--
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid 2172 tid 3124: 160: 10110847: userName :
pid... (5 Replies)
Hi freinds,
My problem is I have a script which is used for our office work...
in that with my userid i can append the LOGFILE with the output which i get while running the script..
for this i use the below command
output >> $LOGFILE
but with the same script my colleague is... (6 Replies)
How can i make a script to add text before the first word on a line in a textfile :
Example:
Old line:
is my place
New line:
this is my place
Please use and tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. (3 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hello,
If i run the following script from the cmdline it works just fine however if i run it via root cronjob it doesn't write to the file at all. It is chmod 777 now so shouldnt be any right issues.
Shellscript looks like this:
/usr/bin/top -b -n 1 -u nagios >> /var/log/test.log
Cronjob... (7 Replies)
My first post, so don't kill me :)
Say i open some textfile with some example like this.
on the table are handy, bread and wine
Now i know exactly what is in and i want to separate and sorted it in terminal to an existing file with another 2 existing lines in like this:
table
plane ... (3 Replies)
Discussion started by: schwatter
3 Replies
LEARN ABOUT DEBIAN
mojomojo::formatter::wiki
MojoMojo::Formatter::Wiki(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Wiki(3pm)NAME
MojoMojo::Formatter::Wiki - Handle interpage linking.
DESCRIPTION
This formatter handles intra-Wiki links specified between double square brackets or parentheses: [[wiki link]] or ((another wiki link)). It
will also indicate missing links with a question mark and a link to the edit page. Links can be implicit (like the two above), where the
path is derived from the link text by replacing spaces with underscores (<a href="wiki_link">wiki link</a>), or explicit, where the path is
specified before a '|' sign:
[[/explicit/path|Link text goes here]]
Note that external links have a different syntax: [Link text](http://foo.com).
METHODS
format_content_order
Format order can be 1-99. The Wiki formatter runs on 10.
strip_pre
Replace <pre ... with a placeholder
reinsert_pre
Put pre and lang back into place.
format_content
Calls the formatter. Takes a ref to the content as well as the context object.
format_link <c> <wikilink> <base> [<link_text>]
Format a wikilink as an HTML hyperlink with the given link_text. If the wikilink doesn't exist, it will be rendered as a hyperlink to an
.edit page ready to be created.
Since there is no difference in syntax between new and existing links, some abiguities my occur when it comes to characters that are
invalid in URLs. For example,
* [[say "NO" to #8]] should be rendered as "<a href="say_%22NO%22_to_%238">say "NO" to #8</a>" * [[100% match]] should be rendered as "<a
href="100%25_match>100% match</a>", URL-escaping the '%' * but what about a user pasting an existing link, "[[say_%22NO%22_to_%238]]"? We
shouldn't URL-escape the '%' or '#' here. * for links with explicit link text, we should definitiely not URL-escape the link:
"[[say_%22NO%22_to_%238|say "NO" to #8]]"
This is complicated by the fact that '#' can delimit the start of the anchor portion of a link.
* "[[Mambo #5]]" - URL-escape '#' => Mambo_%235 * "[[Mambo#origins]]" - do not URL-escape * "[[existing/link#Introduction|See the
Introduction]]" - definitely do not URL-escape
Since escaping is somewhat magic and therefore potentially counter-intuitive, we will: * only URL-escape '#' if it follows a whitespace
directly * always URL-escape '%' unless it is followed by two uppercase hex digits * always escape other characters that are invalid in
URLs
expand_wikilink <wikilink>
Replace "_" with spaces and unescape URL-encoded characters
find_links <content> <page>
Find wiki links in content.
Return a listref of linked (existing) and wanted pages.
SEE ALSO
MojoMojo, Module::Pluggable::Ordered
AUTHORS
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Formatter::Wiki(3pm)