I have this simple script which gives info on HBA ports. How do i get it all to print on the same line?
!#/bin/ksh
TMP_INFOFILE=/tmp/tmpfile
if ; then
rm -f $TMP_INFOFILE
touch $TMP_INFOFILE
fi
PORT_INFOFILE=/tmp/aa
if ; then
rm -f $PORT_INFOFILE
... (1 Reply)
Hi ,
i want to print the output in line by line
while read LINE
do
echo $LINE | grep UCM | egrep '(Shutdown|Unavailable)'
echo $LINE | grep SRBr | egrep '(Shutdown|Unavailable)'
echo $LINE | grep SRP| egrep '(Shutdown|Unavailable)'
echo $LINE | grep OM | grep JMS|... (7 Replies)
Hi,
This is my input file
cat input
chr1:100-200
chr1:220-300
chr1:300-400
Now, I would like to run a program that will take each of the input record
for i in `cat input`; do program $i | wc -l;done
the output will be something like
10
20
30
But, I would like to print the... (4 Replies)
Hi
I want to extend following command so that on the basis of "Branch: ****" on the third line I can grep and print name of the file on the first line.
cat .labellog.emd | grep DA2458A7962276A7E040E50A0DC06459 | cut -d " " -f2 | grep -v branch_name | xargs -I file <command to describe> file
... (1 Reply)
example of problem:
when I echo "$e" >> /home/cogiz/file.txt
result prints to file as:AA
BB
CC
I need it to save to file as this:AA BB CC
I know it's probably something really simple but any help would be greatly appreciated.
Thank You.
Cogiz (7 Replies)
In the bash below I am trying to loop through all the R1.gz in a directory (always 1), store them in ARRAY, and cut them before the second _. That is being done but I can't seem to print then one a single line seperated by a space. Is the below the best way or is there a better solution? Thank you... (3 Replies)
Currently using below script but echo it print the output in two line.
Input file all-vm-final-2.txt
CEALA08893 SDDC_SCUN DS_SIO_Workload_SAPUI_UAT_01 4
CEALA09546 SDDC_SCUN DS-SIO-PD5_Workload_UAT_SP1_Flash_07 4
CEALA09702 SDDC_SCUN DS-VSAN-RMP-WORKLOAD01 4
DEALA08762 SDDC_LDC... (3 Replies)
Discussion started by: ranjancom2000
3 Replies
LEARN ABOUT DEBIAN
trayer
TRAYER(1) General Commands Manual TRAYER(1)NAME
trayer - a lightweight GTK2-based systray for UNIX desktop
SYNOPSIS
trayer -h
trayer -v
trayer [--edge left|right|top|bottom|none] [--align left|right|center] [--margin <size>] [--widthtype request|pixel|percent ] [--width
<size>] [--heighttype <pixel>] [--height <size>] [--SetDockType true|false] [--SetPartialStrut true|false] [--transparent true|false]
[--alpha <value>] [--tint <color>] [--distance <length>] [--distancefrom left|right|top|bottom|none] [--expand true|false] [--padding
<size>]
DESCRIPTION
trayer is a small program designed to provide system tray similar to these in GNOME / KDE desktop environments for window managers which
does not support that function. It is similar to other applications such as peksystray and docker.
System tray is a place, where many applications put their icons, so they are always visible. Such icons may present status of an applica-
tion and allow user to control the program.
trayer's code was extracted from fbpanel application, you can find more about it on its homepage: http://fbpanel.sourceforge.net/.
OPTIONS
This programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help
-h Show summary of options and exit.
--version
-v Show version of program and exit.
--edge left|right|top|bottom|none
Specifies a screen edge to use.
--align left|center|right
Specifies an align of the icons.
--margin <size>
Specifies length of margin (in pixels)
--widthtype request|pixel|percent
Specifies method of calculating trayer's window width:
request
Follow application icons' size, so trayer may shrink or expand dynamically.
pixel Set a fixed size, given with --width option in pixels.
percent
Set a fixed size, given with --width option in percentage of a length of screen edge.
--width <size>
Width of trayer's window. Ignored when --widthtype is set to request.
--heighttype request|pixel|percent
Specifies method of calculating trayer's window height:
request
Follow application icons' size, so trayer may shrink or expand dynamically.
pixel Set a fixed size, given with --height option in pixels.
percent
Set a fixed size, given with --height option in percentage of a length of screen edge.
--height <size>
Height of trayer's window. Ignored when --heighttype is set to request.
--SetDockType true|false
Identify panel window type as dock.
--SetPartialStrut true|false
Reserve panel space so that it will not be covered by maximized windows.
--transparent true|false
Use transparency.
--alpha <value>
Percentage of transparency (0 - nontransparent, 255 - fully transparent)
--tint <color>
Color used to tint transparent background. Color is given as a 24-bit C hexadecimal integer, for example: 0xff0000 is red, 0xff8800
is orange and 0x00ff00 is green.
--distance <length>
Specifies distance between trayer's window and screen edge (in pixels)
--distancefrom <edge>
Specifies which edge to calculate distance from, see above.
--expand true|false
Specifies whether trayer may accommodate extra space when there is too much icons.
--padding <size>
Extra space between icons and trayer window's border.
--monitor NUM|STRING
Define the monitor on which you like trayer to appear, number of zero to number of monitors minus one, or the string "primary" are
valid. The default value is 0.
SEE ALSO fbpanel(1)AUTHORS
Anatoly Asviyan <aanatoly@users.sf.net> - fbpanel
Rafal Bisingier <ravbc@man.poznan.pl>
Maciej Delmanowski <harnir@users.berlios.de>
Grzegorz Nieweglowski <hoppke@dobremiasto.net>
Thomas Rydzynski
This manual page was written by Tomasz Melcer <liori@interia.pl>.
FVWM-Crystal Feb 14, 2005 TRAYER(1)