01-04-2013
Well, I think that is just an X-windows server. What is the underlying Unix server you are using?
Did you just paste the contents of my file into the screen or did you save them, FTP them to the server and then run them as a script?
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Kindly help me to build the script similar to VLOOKUP function of MS Excell. (5 Replies)
Discussion started by: hjoshi
5 Replies
2. Shell Programming and Scripting
Dear All,
i want to implement vookup function which is there in excel into Unix. Suppose i have 2 files. The files are given below.
File1:
MSC Cell SDCA
Patna-1 12 Bihar
Patna-2 45 Ranchi
Bhopal-1 85 Raigarh
Bhopal-2 ... (8 Replies)
Discussion started by: pravani1
8 Replies
3. Shell Programming and Scripting
Hi,
I am trying to find a way to read an excel work book with multiple worksheets.
And write each worksheet into a new excel file using perl. My environment is Unix.
For example: I have an excel workbook TEST.xls and it has Sheet1, Sheet2, Sheet3 worksheets. I would like to create... (2 Replies)
Discussion started by: sandeep78
2 Replies
4. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
5. Shell Programming and Scripting
Hello,
I am trying to use vlookup (Excel function) using awk but there is some problem :(
--file1--
ABC123
101F
X1 A $P=Z
X2 A $P=X
X3 B $P=F
X4 C $P=G
MNK180
END
--file2--
X1 A_t $P=Z
X2 A_t $P=X
X3 B_u $P=F
X4 C_o $P=G (2 Replies)
Discussion started by: young
2 Replies
6. Shell Programming and Scripting
All,
I have an excel sheet Excel1.xls that has some entries.
I have one more excel sheet Excel2.xls that has entries only in those cells which are blank in Excel1.xls
These may be in different workbooks. They are totally independent made by 2 different users.
I have placed them in a... (1 Reply)
Discussion started by: Anamika08
1 Replies
7. Shell Programming and Scripting
Hi folks,
awk 'NR==FNR {m=$0; next} $1 in m{$0=m} {print}' file2 file1
Works a charm for a vlookup type query, sourced from https://www.unix.com/shell-programming-and-scripting/215998-vlookup-using-awk.html
However my column content has white spaces and numbers. Example
file1
The Man... (6 Replies)
Discussion started by: pshields1984
6 Replies
8. Shell Programming and Scripting
I have two files
File1
175552 st_497858.1 rs86052.1 rs92185.1 st_001022416.1 174841 175552_174841
179912 st_001122967.2 rs90435.1 rs89122.1 st_001022583.1 175545 179912_175545
179912 st_001122967.2 rs90435.1 rs89122.1 st_001022584.1 175545 179912_175545
179967 st_001256606.1 rs93516.2... (1 Reply)
Discussion started by: sammy777888
1 Replies
9. Shell Programming and Scripting
Hello Everybody
I am looking for vlookup like functionality in Linux since two files I have are very big(1000MB each) and its not opening completely in excel.
Here the requirement
file1
11,12,13
16,14,12
28,21,22
22,23,24 file 3
18,16,16
14,12,12
23,22,24
16,11,13 here... (8 Replies)
Discussion started by: shanul karim
8 Replies
10. UNIX for Beginners Questions & Answers
Hello, i am trying to print group name column(etc/group) on script (etc/passwd) since group name is not listed on etc/passwd columns. Im trying to do a vlookup. but i cant figure out how i can insert the vlookup command FNR==NR inside the print out command or the output. I also tried exporting... (2 Replies)
Discussion started by: joonisio
2 Replies
LEARN ABOUT DEBIAN
excel::template::container::format
Excel::Template::Container::Format(3pm) User Contributed Perl Documentation Excel::Template::Container::Format(3pm)
NAME
Excel::Template::Container::Format - Excel::Template::Container::Format
PURPOSE
To format all children according to the parameters
NODE NAME
FORMAT
INHERITANCE
Excel::Template::Container
ATTRIBUTES
Boolean attributes should be set to 1, 0, true, or false.
Color values can be the color name or the color index. See "COLOURS IN EXCEL" in Spreadsheet::WriteExcel
o align
Set to either left, center, right, fill, or justify. Default is left. See also valign.
o bg_color
Set to a color value. Default is none.
o bold
This will set bold to on or off, depending on the boolean value.
o border
Set the border for all for edges of a cell. Also see bottom, top, left, and right. Valid values are 0 - 7.
See "set_border()" in Spreadsheet::WriteExcel
o border_color
Sets the color value for the border. See also border, top_color, bottom_color, left_color and right_color.
o bottom
See border.
o bottom_color
See border_color
o color
This will set the color of the text, depending on color value. Default is black.
o fg_color
Set to a color value. This color will be used in foreground of some patterns. See color to change the color of text. Also see bg_color
and pattern.
o font
This will sent the font face. Default is Arial.
o font_outline
This will set font_outline to on or off, depending on the boolean value. (q.v. OUTLINE tag)
o font_shadow
This will set font_shadow to on or off, depending on the boolean value. (q.v. SHADOW tag). This only applies to Excel for Macintosh.
o font_strikeout
This will set font_strikeout to on or off, depending on the boolean value. (q.v. STRIKEOUT tag)
o hidden
This will set whether the cell is hidden to on or off, depending on the boolean value.
o indent
Set the indentation level for a cell. Positive integers are allowed.
o italic
This will set italic to on or off, depending on the boolean value. (q.v. ITALIC tag)
o left
See border.
o left_color
See border_color.
o num_format
Set to the index of one of Excel's built-in number formats. See "set_num_format()" in Spreadsheet::WriteExcel
o pattern
Set to an integer, 0 - 18. Sets the background fill pattern of a ell. Default is 1, solid.
o right
See border.
o right_color
See border color.
o rotation
Set the rotation of the text in a cell. The rotation can be any angle in the range -90 to 90 degrees. The angle 270 is also supported.
This indicates text where the letters run from top to bottom.
o shrink
A boolean value. If true, text will shrink to fit a cell.
o size
This will set the size of the font. Default is 10. Unless a row height is specifically set, the row will grow taller as necessary.
o text_justlast
A boolean value to justify the last line. Only applies to Far Eastern versions of Excel.
o text_wrap
A boolean value. When set to true, text will wrap in a cell instead of crossing over into empty cells. If the row height is not set,
the row will grow taller to accommodate the wrapping text.
o top
See border.
o top_color
See border_color
o valign
Set to top, vcenter, bottom, or vjustify. Default is vcenter. See also align.
CHILDREN
None
EFFECTS
None
DEPENDENCIES
None
USAGE
<format bold="1">
... Children here
</format>
In the above example, the children will be displayed (if they are displaying elements) in a bold format. All other formatting will remain
the same and the "bold"-ness will end at the end tag.
AUTHOR
Rob Kinyon (rob.kinyon@gmail.com)
SEE ALSO
BOLD, HIDDEN, ITALIC, OUTLINE, SHADOW, STRIKEOUT
perl v5.14.2 2012-04-29 Excel::Template::Container::Format(3pm)