02-12-2018
Just use some logic (if statement) and CSS.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a code which gives me different values all in a same line. what do i change to make the output have each value in each cell.
code:
echo $user $firstname $lastname $address
done |
tee userinfo.xls
i want the $user value to be in first cell of excel, $firstname in the... (3 Replies)
Discussion started by: sophos
3 Replies
2. Shell Programming and Scripting
I have been configuring my .bashrc PS1 to be displayed with some nice colors and in a format that I like, however there is one thing that I cannot figure out (or know if it's even possible).
my PS1 line is as follows:
export PS1='\\u\@\\h\:\\w\n\\$ \'This makes the command and command output... (0 Replies)
Discussion started by: jelloir
0 Replies
3. Shell Programming and Scripting
Hello,
I have a bash script that outputs the following text to a file and then prints that file to the screen:
|64 |30 |0 |8 |23:59:14
|38 |57 |2 |14 |00:09:05
|29 |50 |4 |20 |23:58:04
|20 |48 |7 |23 |00:05:44
|18 ... (2 Replies)
Discussion started by: fnj00
2 Replies
4. Shell Programming and Scripting
I have a script which converts a .csv file to html nicely. Trying to add 3 colors, green, yellow and red to the output depending upon the values in the cells. Tried some printf command but just can't seem to get any where. Any ideas would be appreciated. nawk 'BEGIN{
FS=","
print ... (7 Replies)
Discussion started by: jimmyf
7 Replies
5. Shell Programming and Scripting
<DIV><P>Pré-condição aceder ao ecrã Home do MRS.</P></DIV><DIV><P>OK.</P></DIV><DIV><P>Seleccionar Pesquisa de Recepção Directa.</P></DIV><DIV><P>Confirmar que abriu ecrã de Recepção Directa.</P></DIV><DIV> (6 Replies)
Discussion started by: oliveiraum
6 Replies
6. UNIX for Beginners Questions & Answers
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)
Discussion started by: mirwasim
12 Replies
7. Shell Programming and Scripting
HI
i have two files say test and test1
Test.txt
Code:
Lun01 2TB 1.99TB 99.6%
Lun02 2TB 1.99TB 99.5%
Lun03 2TB 1.99TB 99.5%
Lun04 2TB 1.55TB 89.6%
Code:
Test1.txt
Lun01 2TB 1.99TB 89.5%
Lun02 2TB 1.99TB 99.5%
Lun03 2TB 1.99TB 99.5%
Requirement is to compare... (6 Replies)
Discussion started by: venkitesh
6 Replies
LEARN ABOUT DEBIAN
css::adaptor
CSS::Adaptor(3pm) User Contributed Perl Documentation CSS::Adaptor(3pm)
NAME
CSS::Adaptor - Arbitrarily map CSS data for use in another context.
SYNOPSIS
use CSS;
# create a CSS object with an adaptor
my $css = new CSS({
'adaptor' => 'CSS::Adaptor',
});
# load some CSS data
$css->read_file( "my_file.css" );
# change the adaptor
$css->set_adaptor( "CSS::Adaptor::Pretty" );
# output CSS object using the current adaptor
print $css->output();
DESCRIPTION
This class is used by CSS to translate a CSS object to a string. This allows CSS data to be easily mapped into other formats.
This documentation is for people who want to write their own CSS::Adaptor module. For usage information, see the documentation for CSS.
METHODS
CONSTRUCTOR
"new()"
Called without options.
FUNCTIONS
"output_rule( $rule )"
returns a string containing a formatted CSS::Style object, passed as an object ref
"output_selectors( $selectors )"
returns a string containing a formatted list of CSS::Selector objects, passed as an array ref
"output_properties( $properties )"
returns a string containing a formatted list of CSS::Property objects, passed as an array ref
"output_values( $values )"
returns a string containing a formatted list of CSS::Value objects, passed as an array ref
AUTHORS
Copyright (C) 2001-2002, Allen Day <allenday@ucla.edu>
Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com>
SEE ALSO
CSS
perl v5.14.2 2008-04-23 CSS::Adaptor(3pm)