Dear All
I had below mention file as my input file.
87980457 Jan 12 2008 2:00AM 1 60 BSC1
81164713 Jan 12 2008 3:00AM 1 60 BSC2
78084521 Jan 12 2008 4:00AM 1 60 BSC3
68385193... (3 Replies)
I have looked at almost every posting on here regarding, grep, sed, awk, nawk, perl methods to perform this function, but they are just not returning the results I hope to see.
Example File:
abcdef
123456
ghijkl
7890123
7890123
7890123
7890123
mnopqrs
456789
This is the most... (4 Replies)
Hi Guys,
I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same.
can anyone of you please let me know how to go about it ? (8 Replies)
Hi experts,
My csv file looks like this
U;cake;michael;temp;;;;
U;bread;john;temp;;;;
U;cocktails;sarah;temp;;;;
I'd like to change the value fo 2nd column to cf+random number , which will look maybe something like this
U;cf20187;michael;temp;;;;
U;cf8926;john;temp;;;;... (7 Replies)
Hello all, I have been asked to exercise my shell scripting and it has been 10 plus years since I used to do it so I can not remember hardly anything and ask for your help.
What I need to do is copy a line out of a file that can be 10 to 100 characters long, I then need to parse this line into... (3 Replies)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Dear All
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB... (5 Replies)
I need to remove double quoted strings from specific lines in a file. The specific line numbers are a variable. For example, line 5 of the file contains
A B C "string"
I want to remove "string". The following sed command works:
sed '5 s/\"*\"//' $file
If there are multiple... (2 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi Everyone,
I have a requirement in ksh where i have a set of files in a directory. I need to search each and every file if a particular string is present in the file, delete that line and replace that line with another string expression in the same file.
I am very new to unix. Kindly help... (10 Replies)
Discussion started by: Pradhikshan
10 Replies
LEARN ABOUT PHP
tidynode
TIDYNODE(3) 1 TIDYNODE(3)The tidyNode classINTRODUCTION
An HTML node in an HTML file, as detected by tidy.
CLASS SYNOPSIS
tidyNode
tidyNode
Properties
o
string$value
o
string$name
o
int$type
o
int$line
o
int$column
o
bool$proprietary
o
int$id
o
array$attribute
o
array$child
Methods
o
tidyNode tidyNode::getParent (void )
o
bool tidyNode::hasChildren (void )
o
bool tidyNode::hasSiblings (void )
o
bool tidyNode::isAsp (void )
o
bool tidyNode::isComment (void )
o
bool tidyNode::isHtml (void )
o
bool tidyNode::isJste (void )
o
bool tidyNode::isPhp (void )
o
bool tidyNode::isText (void )
PROPERTIES
o $value
-The HTML representation of the node, including the surrounding tags.
o $name
-The name of the HTML node
o $type
-The type of the tag (one of the constants above, e.g. TIDY_NODETYPE_PHP)
o $line
-The line number at which the tags is located in the file
o $column
-The column number at which the tags is located in the file
o $proprietary
-Indicates if the node is a proprietary tag
o $id
-The ID of the tag (one of the constants above, e.g. TIDY_TAG_FRAME)
o $attribute
- An array of string, representing the attributes names (as keys) of the current node.
o $child
- An array of tidyNode, representing the children of the current node.
+--------+--------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+--------------------------------------------+
| 5.1.0 | |
| | |
| | $line, $column and $proprietary were added |
| | |
+--------+--------------------------------------------+
PHP Documentation Group TIDYNODE(3)