Dear all.
I need to extract the title (text between <title> and </title>) of a set of HTML documents.
I've found a command that makes the work of extracting the text, but it does not always work.
It works with the next example:
cat a.txt
htmltext<title>This is a HTML... (2 Replies)
hi,
i have text file that file contains below information.
Name,Roll,Mark,Total
Sivasankar,2120,89,410
Raja,2212,87,425
i need to convert text file to CSV file also the heading(Name,Roll,Mark,Total) font should be BOLD and color should be RED. how can i set fonts in csv (5 Replies)
Hi guys - I was wondering if there is a way to add 'color' to a grep I do like this below:
fgrep -i "XYZ-1124354-P" mylog.log | tr "\001" " " | sed G (7 Replies)
input data in a file
servic webservice.somthing 200 OK
servic1 webservice.somthing 200 OK
servic1 webservice.somthing 400 BAD REQEST
Below script is making tabular form perfectly. but there are two thing i am not able to achive
1.how can i color the complete row as red when it see '400' in... (12 Replies)
Hi,
I need to get the Status Column in Green if it is approved and Red if it is declined in the HTML output attachment#!/bin/bash
body_csv="/authlistener/ProdA/service/queryRS.csv"
body_html="/authlistener/ProdA/service/queryRS.html"
... (1 Reply)
Hello friends - I use various grep commands to search for data in a file. However, to add 'color' seems to not work.
Is there a way to add color to two items that i search? so that i can easily identify in hundreds of lines of output what i am looking for?
zegrep abcdefg... (7 Replies)
Discussion started by: DallasT
7 Replies
LEARN ABOUT DEBIAN
viewperl
VIEWPERL(1) User Commands VIEWPERL(1)NAME
viewperl - quickly view syntax highlighted Perl code
SYNOPSIS
viewperl [OPTION]... FILE...
DESCRIPTION
View a Perl source code file, syntax highlighted.
-c, --code=CODE
view CODE, syntax highlighted
-l, --lines
display line numbers
-L, --no-lines
supress display of line numbers (default)
-m, --module=FILE
consider FILE the name of a module, not a file name
-n, --name
display the name of each file (default)
-N, --no-name
supress display of file names (implied by --no-reset)
-p, --pod
display inline POD documentation (default)
-P, --no-pod
hide POD documentation (line numbers still increment)
-r, --reset
reset formatting and line numbers each file (default)
-R, --no-reset
supress resetting of formatting and line numbers
-s, --shift=WIDTH
set tab width (default is 4)
-t, --tabs
translate tabs into spaces (default)
-T, --no-tabs
supress translating of tabs into spaces
--help display this help and exit
Note that module names should be given as they would appear after a Perl `use' or `require' statement. `Getopt::Long', for example.
Each string given using -c is considered a different file, so line number and formatting resets will apply.
View a Perl source code file, syntax highlighted.
-c, --code=CODE
view CODE, syntax highlighted
-l, --lines
display line numbers
-L, --no-lines
supress display of line numbers (default)
-m, --module=FILE
consider FILE the name of a module, not a file name
-n, --name
display the name of each file (default)
-N, --no-name
supress display of file names (implied by --no-reset)
-p, --pod
display inline POD documentation (default)
-P, --no-pod
hide POD documentation (line numbers still increment)
-r, --reset
reset formatting and line numbers each file (default)
-R, --no-reset
supress resetting of formatting and line numbers
-s, --shift=WIDTH
set tab width (default is 4)
-t, --tabs
translate tabs into spaces (default)
-T, --no-tabs
supress translating of tabs into spaces
--help display this help and exit
Note that module names should be given as they would appear after a Perl `use' or `require' statement. `Getopt::Long', for example.
Each string given using -c is considered a different file, so line number and formatting resets will apply.
viewperl August 2007 VIEWPERL(1)