10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everyone,
I've below windows batch script which is used to filter the file contents line by line and assign the matched values to the variables in for loop.
for /F "tokens=1,3 delims=:" %%A in (%LOG_DIR%\PM_IS_workflow_status.log) do (
set "ATTR_NAME=%%A"
if /i "!ATTR_NAME!" EQU "Folder"... (1 Reply)
Discussion started by: Kathraji
1 Replies
2. Shell Programming and Scripting
Hi all,
i need to run a shell script on remote server. I have created file .bat file in windows server with following code,
c:\Users\Desktop\putty.exe -ssh -pw password user@server ./script.sh
i need to run the script.sh in my remote server
Above command is not working, any... (4 Replies)
Discussion started by: rammm
4 Replies
3. Windows & DOS: Issues & Discussions
Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file.
gawk "NR%3==0" FileIn > FileOut
I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Discussion started by: 10000springs
6 Replies
4. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
5. Windows & DOS: Issues & Discussions
Hi,
I need to check the file size using a batch script.
Pls advise. (0 Replies)
Discussion started by: krackjack
0 Replies
6. Shell Programming and Scripting
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Discussion started by: tomailraj
5 Replies
7. Shell Programming and Scripting
Hi everyone, let me get straight to the points.
My manager wants to execute a remote batch file (on a Windows server) from a UNIX Machine, does anyone know if this is possible and what packages would be needed?
Thanks
p.s. Sorry i cant give OS specifics, we use most UNIX's; AIX, Solaris,... (5 Replies)
Discussion started by: flip387
5 Replies
8. Windows & DOS: Issues & Discussions
I just installed Windows Services for Unix. I want to create a ksh program and schedule it using the Windows scheduler. How would I go about doing it?
What would the command line look like?
Do I always have to be in a ksh shell to run the batch program even if it is not scheduled?
... (3 Replies)
Discussion started by: rbdenham
3 Replies
9. Shell Programming and Scripting
I am using awk in my .ksh script but when I am trying to run in windows
its not recognising awk part of the ksh script , even when I changed it to gawk it does not work, this is how my .ksh and .bat files look like.
thanx.
#!/bin/ksh
egrep -v "Rpt 038|PM$|Parameters:|Begin |Date: |End... (1 Reply)
Discussion started by: 2.5lt V8
1 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:
I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies
FvwmRearrange(1) Fvwm Modules FvwmRearrange(1)
NAME
FvwmRearrange - rearrange fvwm windows
SYNOPSIS
FvwmRearrange is spawned by fvwm, so no command line invocation will work.
DESCRIPTION
This module can be called to tile or cascade windows.
When tiling the module attempts to tile windows on the current screen subject to certain constraints. Horizontal or vertical tiling is
performed so that each window does not overlap another, and by default each window is resized to its nearest resize increment (note some-
times some space might appear between tiled windows -- this is why).
When cascading the module attempts to cascade windows on the current screen subject to certain constraints. Layering is performed so con-
secutive windows will have their window titles visible underneath the previous.
INVOCATION
FvwmRearrange is best invoked from a menu, pop up or button. There are a number of command line options which can be used to constrain the
layering, these are described below. As an example case, one could call FvwmRearrange with the following arguments:
FvwmRearrange -tile -h 10 10 90 90
or
FvwmRearrange -cascade -resize 10 2 80 70
The first invocation will horizontally tile windows with a bounding box which starts at 10 by 10 percent into and down the screen and ends
at 90 by 90 percent into and down the screen.
The second invocation will cascade windows starting 10 by 2 percent into and down the screen. Windows will be constrained to 80 by 70 per-
cent of the screen dimensions. Since the resize is also specified, windows will be resized to the given constrained width and height.
FvwmRearrange can be called as FvwmTile or FvwmCascade. This is equivalent to providing the -tile or -cascade option. This form is obsolete
and supplied for backwards compatibility only.
Command-line arguments passed to FvwmRearrange are described here.
-a Causes all window types to be affected, even ones with the WindowListSkip style.
-animate
Attempt to do an animated move, this is ignored if -resize or -maximize are used.
-cascade
Cascade windows. This argument must be the first on the command line. This is the default.
-desk Causes all windows on the desk to be cascaded/tiled instead of the current screen only.
-flatx Inhibits border width increment. Only used when cascading.
-flaty Inhibits border height increment. Only used when cascading.
-h Tiles horizontally (default is to tile vertically). Used for tiling only.
-incx arg
Specifies a horizontal increment which is successively added to cascaded windows. arg is a percentage of screen width, or pixel
value if a p is suffixed. Default is zero. Used only for cascading.
-incy arg
Specifies a vertical increment which is successively added to cascaded windows. arg is a percentage of screen height, or pixel
value if a p is suffixed. Default is zero. Used only for cascading.
-m Causes maximized windows to also be affected (implied by -a).
-maximize
When moving/resizing a window, put it also into maximized state.
-mn arg
Tiles up to arg windows in tile direction. If more windows exist, a new direction row or column is created (in effect, a matrix is
created). Used only when tiling windows.
-noanimate
Do not attempt to do an animated move.
-nomaximize
Do not put windows into maximized state.
-noraise
Inhibits window raising, leaving the depth ordering intact.
-noresize
Inhibits window resizing, leaving window sizes intact. This is the default when cascading windows.
-nostretch
If tiling: inhibits window growth to fit tile. Windows are shrunk to fit the tile but not expanded.
If cascading: inhibits window expansion when using the -resize option. Windows will only shrink to fit the maximal width and height
(if given).
-r Reverses the window sequence.
-resize
Forces all windows to resize to the constrained width and height (if given). This is the default when tiling windows.
-s Causes sticky windows to also be affected (implied by -a).
-sp Causes windows sticky across pages to also be affected (implied by -a).
-sd Causes windows sticky across desks to also be affected (implied by -a).
-t Causes transient windows to also be affected (implied by -a).
-tile Tile windows. This argument must be the first on the command line.
-u Causes untitled windows to also be affected (implied by -a).
Up to four numbers can be placed on the command line that are not switches. The first pair specify an x and y offset to start the
first window (default is 0, 0). The meaning of the second pair depends on operation mode:
When tiling windows it specifies an absolute coordinate reference denoting the lower right bounding box for tiling.
When cascading it specifies a maximal width and height for the layered windows. If an affected window exceeds either this width or
height, it is resized to the maximal width or height.
If any number is suffixed with the letter p, then it is taken to be a pixel value, otherwise it is interpreted as a screen percent-
age. Specifying zero for any parameter is equivalent to not specifying it.
BUGS
It is probably not a good idea to delete windows while windows are being rearranged.
AUTHORS
Andrew Veliath (original FvwmTile and FvwmCascade modules) Dominik Vogt (merged FvwmTile and FvwmCascade to FvwmRearrange)
3rd Berkeley Distribution 09 May 2010 (2.5.30) FvwmRearrange(1)