10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which comes every day and the file data look's as below.
Vi abc.txt
a|b|c|d\n
a|g|h|j\n
Some times we receive the file with only a new line character in the file like
vi abc.txt
\n (8 Replies)
Discussion started by: rak Kundra
8 Replies
2. Shell Programming and Scripting
Dear Guru's
I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response.
Srini (6 Replies)
Discussion started by: thummi9090
6 Replies
3. Shell Programming and Scripting
i have a reqirement to adjust the data in a file based on a perticular character
the sample data is as below
483PDEAN CORRIGAN 52304037528955WAGES 50000
89BP ABCD MASTER352 5434604223735428 4200
58BP SOUTHERN WA848 ... (1 Reply)
Discussion started by: pema.yozer
1 Replies
4. Shell Programming and Scripting
I have a text file that has data like:
Data "12345#22"
Fred
ID 12345
Age 45
Wilma
Dino
Data "123#22"
Tarzan
ID 123
Age 33
Jane
I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes:
Data "1012345#22"
Fred
ID... (16 Replies)
Discussion started by: say170
16 Replies
5. Shell Programming and Scripting
Hi,
I am having a file which is fix length and comma seperated. And I want to replace values for one column.
I am reading file line by line in variable $LINE and then replacing the string.
Problem is after changing value and writing new file temp5.txt, formating of original file is getting... (8 Replies)
Discussion started by: Mruda
8 Replies
6. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
7. Shell Programming and Scripting
I am new to shell scripting, and need a script to randomly distribute each character from a file into one of three new files. I also need each character to maintain it's position from the original file in the new file (such that if a character is written to File 1, Files 2 and 3 have spaces... (10 Replies)
Discussion started by: foxcastle
10 Replies
8. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
9. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
10. AIX
i am a newbie to shell script,so i want a kshell script in which i need to check for a particular character inside a file through conditional looping(like if ,case,while)and if that character exists ,then substitute a given character to that character.
consider a file test.txt,inside the file... (1 Reply)
Discussion started by: karthikprasathk
1 Replies
LWM(1) General Commands Manual LWM(1)
NAME
lwm - Lightweight Window Manager for the X Window System
SYNTAX
lwm [ -s session-id ]
DESCRIPTION
Lwm is a window manager for the X Window System. It provides enough features to allow the user to manage their windows, and no more.
Windows are surrounded by a frame with a titlebar at the top next to a small box. The frame is a grey colour for all windows except that
which has the input focus, where it is black.
In the default configuration, lwm uses the enter-to-focus scheme, where moving the pointer into a window gives that window the input focus.
Lwm may also be configured to use the click-to-focus scheme, where a window must be clicked on (with any button) to receive the input
focus. Clicking on a window in this mode causes the window to be raised. Note that a click used to focus a window is always swallowed by
lwm, so clicking a button in a new window requires two clicks.
A button 1 click on a window frame brings that window to the top. Dragging button 1 on the frame of a resizable window repositions that
edge of the window. If a corner rather than an edge is dragged, then both edges forming the corner are repositioned. While you're reshaping
a window, a little window pops up to show you the window's current size.
In the default configuration, button 1 on the root window does nothing.
Button 2 is used to drag a window by its frame, repositioning the window but maintaining its position in the window stack.
In the default configuration, button 2 on the root window brings up a new shell.
A button 3 click on a window frame hides that window. Pressing button 3 on the root window brings up a menu of all the hidden windows.
Releasing the button while over an item will unhide the named window.
A button 3 click in the frame while Shift is held down pushes the window to the back, under any other windows. (Users with 4-button mice
are encouraged to use their fourth button for this function.)
A click with any button inside the little white box in a window's frame can be used to close the window.
OPTIONS
Lwm accepts the following command line options:
-s specifies a client ID for the X Session Management system, and is used exclusively by session managers.
RESOURCES
Lwm understands the following X resources:
titlefont font used in window titles
popupFont font used in popup window (menu/size indicator)
border width in pixels of window borders
button1 program spawned when button 1 is clicked on the root window
button2 program spawned when button 2 is clicked on the root window
focus focus mode, one of "enter" for enter-to-focus (or sloppy focus), or "click" for click-to-focus
SEE ALSO
X(7)
AUTHORS
Elliott Hughes <ehughes@bluearc.com>, James Carter <james@jfc.org.uk>
LWM(1)