04-12-2016
Also there is "diff -b" if you don't care about tabs, spaces, or trailing spaces not being the same in both files.
For the 2nd part you can create a file with the HEAD thru BODY start and another file to stop body and stop html. With a cat command you can put your generated file between those two and create an instant webpage. You will still need to ftp it to your website.
HTH
This User Gave Thanks to wbport For This Post:
9 More Discussions You Might Find Interesting
1. Programming
Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that...
Thanks in advance
Sarwan (4 Replies)
Discussion started by: sarwan
4 Replies
2. UNIX for Dummies Questions & Answers
how to open a text file using some tool such as gedit under gtk
I list some text file names in a GtkCList . I want to open the file on when users click on the row.
How to implement this ?
Thanks (0 Replies)
Discussion started by: cy163
0 Replies
3. UNIX for Advanced & Expert Users
Hi all
I have to compare maps/files on two seperate boxes and the output must be as following:
1)list the maps/file on box1
2)list the maps/file on box2
3)List maps in both the environments
a) which are same
b)which are different
pls any ideas are appreciated
thnks (2 Replies)
Discussion started by: bkan77
2 Replies
4. OS X (Apple)
I need a simple command line executable that allows me to convert a wmv file into an mpg file like this:
wmv2mpg inputfile.mwv > outputfile.mpg
I cannot find it on internet. I tried installing mencoder but I cannot get it to work.
Thanks. (4 Replies)
Discussion started by: karman
4 Replies
5. AIX
which windows tool can burn iso file? The iso file is download from IBM web site for HMC upgrade.
How to burn this iso file to cd or dvd? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
6. Shell Programming and Scripting
Hi,
I have many files in the source directory but I need to process with the latest timestamp file.
I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=)
With this format YYYYMMDD-
i have searched the relevent command in the unix forms but did... (5 Replies)
Discussion started by: onesuri
5 Replies
7. Shell Programming and Scripting
Dear all
Would anyone tell me how to prevent user from input non asterisk(i.e. *) character via keyboard?
#!/bin/ksh
targetHour=-1
while ]
do
echo "Please input target hour":
read targetHour
done
When I execute the above coding, and then input a "j", it return the following... (3 Replies)
Discussion started by: cstsang
3 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
Please look into the query
1)Date format: mm/dd/yyyy example (10/22/2013)
2) compare this date with the System date
3) if the difference of dates less than 30 days. Then return true otherwise false.
4)commands date-d is not there in my unix version.
5)present version 6
6)using... (7 Replies)
Discussion started by: RaghavendraT
7 Replies
9. UNIX for Beginners Questions & Answers
hi,
I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
Discussion started by: Godtookapicture
5 Replies
LEARN ABOUT PHP
tidy.body
TIDY.BODY(3) 1 TIDY.BODY(3)
tidy::body - Returns atidyNodeobject starting from the <body> tag of the tidy parse tree
Object oriented style
SYNOPSIS
tidyNode tidy::body (void )
DESCRIPTION
Procedural style
tidyNode tidy_get_body (tidy $object)
Returns a tidyNode object starting from the <body> tag of the tidy parse tree.
PARAMETERS
o $object
- The Tidy object.
RETURN VALUES
Returns a tidyNode object starting from the <body> tag of the tidy parse tree.
EXAMPLES
Example #1
tidy.getBody(3) example
<?php
$html = '
<html>
<head>
<title>test</title>
</head>
<body>
<p>paragraph</p>
</body>
</html>';
$tidy = tidy_parse_string($html);
$body = $tidy->Body();
echo $body->value;
?>
The above example will output:
<body>
<p>paragraph</p>
</body>
NOTES
Note
This function is only available with Zend Engine 2 (PHP >= 5.0.0).
SEE ALSO
tidy.head(3), tidy.html(3).
PHP Documentation Group TIDY.BODY(3)