Sponsored Content
Top Forums Shell Programming and Scripting Curl and write custom result to file Post 303034146 by charli1 on Friday 19th of April 2019 08:13:46 AM
Old 04-19-2019
Please note RudiC that i'm curling a tomcat manager Sessions tab specific,
i'm not curling the full page, the contente of the MyWebApps are only all the names of the webapps.
Thanks for you help.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Outputting formatted Result log file from old 30000 lines result log<help required>

Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in 1) starting with "20071126 11:11:11 Machine Header 1" 1000 lines... "End machine header 1" 2) starting with "20071126 12:12:12 Machine... (5 Replies)
Discussion started by: vikas.iet
5 Replies

2. Shell Programming and Scripting

script to output curl result as html

hi, new to scripting and would like to know how can I have a script which will curl a few URLs and have the results such as the URLs being curled, dns lookup time, connection time, total time, etc save in a html format in a form of table with column and rows. thank you. (4 Replies)
Discussion started by: squidusr
4 Replies

3. Shell Programming and Scripting

How to write result of a query to more than 1 .csv

If the result of the query is greater than say, 50,000 then the next 50,000 should be written to the second file and so on. Is it possible? (1 Reply)
Discussion started by: Jassz
1 Replies

4. Shell Programming and Scripting

Write result to output file

Good morning everybody, Beeing an absolute newbie in shell scripting I would like to look for some help here. I would like to read an external text file and format the data and write it to an output file. What I was trying to do was to display the result (this worked). But now I... (1 Reply)
Discussion started by: bluejean1976
1 Replies

5. Shell Programming and Scripting

Populating File data with custom manipulation on file names

Hi, I am confused how to proceed firther please find the problem below: Input Files: DCIA_GEOG_DATA_OCEAN.TXT DCIA_GEOG_DATA_MCRO.TXT DCIA_GEOG_DATA_CVAS.TXT DCIA_GEOG_DATA_MCR.TXT Output File Name: MMA_RFC_GEOG_NAM_DIM_LOD.txt Sample Record(DCIA_GEOG_DATA_OCEAN.TXT):(Layout same for... (4 Replies)
Discussion started by: Arun Mishra
4 Replies

6. Shell Programming and Scripting

Script to write result to a file

Hello, How can I run this script every 1 hour and save its result to result.txt ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' Regards Shaan (5 Replies)
Discussion started by: Shaan_Shaan
5 Replies

7. Shell Programming and Scripting

Compare 2 file and write result

Hi friends...I have 2 files, file1.txt and reference.txt I could able to find difference using diff and following command awk 'NR == FNR { A=1; next } !A' reference.txt file1.txt above command listing data which is not in reference.txt 12.12 87 11.95 88 11.83 89 12.55 84... (12 Replies)
Discussion started by: Akshay Hegde
12 Replies

8. Shell Programming and Scripting

Splitting file - custom req.

Hello everybody, I have a file to split in a bit different way. My file looks like this: My_file.dat 123333333|01|38|440X|P 384747382|32|31|440X|P 320384743|32|54|420Y|I 843739349|12|43|420Y|I I need to split it into: MYFILE_440X_P.dat 123333333|01|38 384747382|32|31 ... (3 Replies)
Discussion started by: bijou
3 Replies

9. Shell Programming and Scripting

Sort and Split file with header and custom name

Hi, I am using SUN SOLARIS (SunOS sun4v sparc SUNW, T5240). I have a huge data file with header and trailer. This file gets used into an ETL process. ETL skips the header record (which is the first record of the file) and loads the rest of the record. The file can be delimited (comma,... (5 Replies)
Discussion started by: Saanvi1
5 Replies

10. Shell Programming and Scripting

Curl to download file from subdivx.com after following location without knowing the file name/extens

This question could be specific to the site subdivx.com In the past, I've been able to download a file following location using cURL but there is something about subdivx.com that's different and can't figure out how to get it to work. I tried the following directly in the terminal with no... (5 Replies)
Discussion started by: MoonD
5 Replies
klein(6x)							XScreenSaver manual							 klein(6x)

NAME
kleinbottle - Draws a 4d Klein bottle. SYNOPSIS
kleinbottle [-display host:display.screen] [-install] [-visual visual] [-window] [-root] [-delay usecs] [-fps] [-klein-bottle bottle-name] [-figure-8] [-lawson] [-mode display-mode] [-wireframe] [-surface] [-transparent] [-appearance appearance] [-solid] [-bands] [-colors color-scheme] [-twosided] [-rainbow] [-depth] [-view-mode view-mode] [-walk] [-turn] [-walk-turn] [-orientation-marks] [-projection-3d mode] [-perspective-3d] [-orthographic-3d] [-projection-4d mode] [-perspective-4d] [-orthographic-4d] [-speed-wx float] [-speed-wy float] [-speed-wz float] [-speed-xy float] [-speed-xz float] [-speed-yz float] [-walk-direction float] [-walk-speed float] DESCRIPTION
The kleinbottle program shows two different Klein bottles in 4d: the figure-8 Klein bottle or the Lawson Klein bottle. You can walk on the Klein bottle, see it turn in 4d, or walk on it while it turns in 4d. The figure-8 Klein bottle is well known in its 3d form. The 4d form used in this program is an extension of the 3d form to 4d that does not intersect itself in 4d (which can be seen in the depth colors mode). The Lawson Klein bottle, on the other hand, does intersect itself in 4d. Its primary use is that it has a nice appearance for walking and for turning in 3d. The Klein bottle is a non-orientable surface. To make this apparent, the two-sided color mode can be used. Alternatively, orientation markers (curling arrows) can be drawn as a texture map on the surface of the Klein bottle. While walking on the Klein bottle, you will notice that the orientation of the curling arrows changes (which it must because the Klein bottle is non-ori- entable). The program projects the 4d Klein bottle to 3d using either a perspective or an orthographic projection. Which of the two alternatives looks more appealing depends on the viewing mode and the Klein bottle. For example, the Lawson Klein bottle looks nicest when projected perspectively. The figure-8 Klein bottle, on the other hand, looks nicer while walking when projected orthographically from 4d. The projected Klein bottle can then be projected to the screen either perspectively or orthographically. When using the walking modes, perspective projection to the screen should be used. There are three display modes for the Klein bottle: mesh (wireframe), solid, or transparent. Furthermore, the appearance of the Klein bottle can be as a solid object or as a set of see-through bands. Finally, the col- ors with with the Klein bottle is drawn can be set to two-sided, rainbow, or depth. In the first case, the Klein bottle is drawn with red on one "side" and green on the "other side". Of course, the Klein bottle only has one side, so the color jumps from red to green along a curve on the surface of the Klein bottle. This mode enables you to see that the Klein bottle is non-orientable. The second mode draws the Klein bottle with fully saturated rainbow colors. This gives a very nice effect when combined with the see-through bands mode or with the orientation markers drawn. The third mode draws the Klein bottle with colors that are chosen according to the 4d "depth" of the points. This mode enables you to see that the figure-8 Klein bottle does not intersect itself in 4d, while the Lawson Klein bottle does intersect itself. The rotation speed for each of the six planes around which the Klein bottle rotates can be chosen. For the walk-and-turn more, only the rotation speeds around the true 4d planes are used (the xy, xz, and yz planes). Furthermore, in the walking modes the walking direction in the 2d base square of the Klein bottle and the walking speed can be chosen. This program is somewhat inspired by Thomas Ban- choff's book "Beyond the Third Dimension: Geometry, Computer Graphics, and Higher Dimensions", Scientific American Library, 1990. OPTIONS
kleinbottle accepts the following options: -window Draw on a newly-created window. This is the default. -root Draw on the root window. -install Install a private colormap for the window. -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. -delay microseconds How much of a delay should be introduced between steps of the animation. Default 10000, or 1/100th second. -fps Display the current frame rate, CPU load, and polygon count. The following three options are mutually exclusive. They determine which Klein bottle is displayed. -klein-bottle random Display a random Klein bottle (default). -klein-bottle figure-8 (Shortcut: -figure-8) Display the figure-8 Klein bottle. -klein-bottle lawson (Shortcut: -lawson) Display the Lawson Klein bottle. The following four options are mutually exclusive. They determine how the Klein bottle is displayed. -mode random Display the Klein bottle in a random display mode (default). -mode wireframe (Shortcut: -wireframe) Display the Klein bottle as a wireframe mesh. -mode surface (Shortcut: -surface) Display the Klein bottle as a solid surface. -mode transparent (Shortcut: -transparent) Display the Klein bottle as a transparent surface. The following three options are mutually exclusive. They determine the appearance of the Klein bottle. -appearance random Display the Klein bottle with a random appearance (default). -appearance solid (Shortcut: -solid) Display the Klein bottle as a solid object. -appearance bands (Shortcut: -bands) Display the Klein bottle as see-through bands. The following four options are mutually exclusive. They determine how to color the Klein bottle. -colors random Display the Klein bottle with a random color scheme (default). -colors twosided (Shortcut: -twosided) Display the Klein bottle with two colors: red on one "side" and green on the "other side". -colors rainbow (Shortcut: -rainbow) Display the Klein bottle with fully saturated rainbow colors. If the Klein bottle is displayed as see-through bands, each band will be displayed with a different color. -colors depth (Shortcut: -depth) Display the Klein bottle with colors chosen depending on the 4d "depth" of the points. The following four options are mutually exclusive. They determine how to view the Klein bottle. -view-mode random View the Klein bottle in a random view mode (default). -view-mode walk (Shortcut: -walk) View the Klein bottle as if walking on its surface. -view-mode turn (Shortcut: -turn) View the Klein bottle while it turns in 4d. -view-mode walk-turn (Shortcut: -walk-turn) View the Klein bottle as if walking on its surface. Additionally, the Klein bottle turns around the true 4d planes (the xy, xz, and yz planes). The following options determine whether orientation marks are shown on the Klein bottle. -orientation-marks Display orientation marks on the Klein bottle. -no-orientation-marks Don't display orientation marks on the Klein bottle (default). The following three options are mutually exclusive. They determine how the Klein bottle is projected from 3d to 2d (i.e., to the screen). -projection-3d random Project the Klein bottle from 3d to 2d using a random projection mode (default). -projection-3d perspective (Shortcut: -perspective-3d) Project the Klein bottle from 3d to 2d using a perspective projection. -projection-3d orthographic (Shortcut: -orthographic-3d) Project the Klein bottle from 3d to 2d using an orthographic projection. The following three options are mutually exclusive. They determine how the Klein bottle is projected from 4d to 3d. -projection-4d random Project the Klein bottle from 4d to 3d using a random projection mode (default). -projection-4d perspective (Shortcut: -perspective-4d) Project the Klein bottle from 4d to 3d using a perspective projection. -projection-4d orthographic (Shortcut: -orthographic-4d) Project the Klein bottle from 4d to 3d using an orthographic projection. The following six options determine the rotation speed of the Klein bottle around the six possible hyperplanes. The rotation speed is mea- sured in degrees per frame. The speeds should be set to relatively small values, e.g., less than 4 in magnitude. In walk mode, all speeds are ignored. In walk-and-turn mode, the 3d rotation speeds are ignored (i.e., the wx, wy, and wz speeds). In walk-and-turn mode, smaller speeds must be used than in the turn mode to achieve a nice visualization. Therefore, in walk-and-turn mode the speeds you have selected are divided by 5 internally. -speed-wx float Rotation speed around the wx plane (default: 1.1). -speed-wy float Rotation speed around the wy plane (default: 1.3). -speed-wz float Rotation speed around the wz plane (default: 1.5). -speed-xy float Rotation speed around the xy plane (default: 1.7). -speed-xz float Rotation speed around the xz plane (default: 1.9). -speed-yz float Rotation speed around the yz plane (default: 2.1). The following two options determine the walking speed and direction. -walk-direction float The walking direction is measured as an angle in degrees in the 2d square that forms the coordinate system of the surface of the Klein bottle (default: 7.0). -walk-speed float The walking speed is measured in percent of some sensible maximum speed (default: 20.0). INTERACTION
If you run this program in standalone mode in its turn mode, you can rotate the Klein bottle by dragging the mouse while pressing the left mouse button. This rotates the Klein bottle in 3D, i.e., around the wx, wy, and wz planes. If you press the shift key while dragging the mouse with the left button pressed the Klein bottle is rotated in 4D, i.e., around the xy, xz, and yz planes. To examine the Klein bottle at your leisure, it is best to set all speeds to 0. Otherwise, the Klein bottle will rotate while the left mouse button is not pressed. This kind of interaction is not available in the two walk modes. ENVIRONMENT
DISPLAY to get the default host and display number. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. SEE ALSO
X(1), xscreensaver(1) COPYRIGHT
Copyright (C) 2005-2009 by Carsten Steger. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Carsten Steger <carsten@mirsanmir.org>, 03-aug-2009. X Version 11 5.15 (28-Sep-2011) klein(6x)
All times are GMT -4. The time now is 09:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy