10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
i have a requirement where i need to format the input RAW file ( which is CSV) by using another mapping file(also CSV file). basically i am getting feed file with dynamic headers by using mapping file (in that target field is mapped with source filed) i have to convert the raw file into... (6 Replies)
Discussion started by: ravi4informatic
6 Replies
2. Shell Programming and Scripting
I have to write a program to read data from files and then format into another file. However, I face a strange problem related to control character that I can't understand and solve.
The source file is compose of many lines with such format:
T_NAME|P_NAME|P_CODE|DOCUMENT_PATH|REG_DATE
... (3 Replies)
Discussion started by: hk6279
3 Replies
3. Shell Programming and Scripting
Hi,
I have requirement to format the file.My input file tab(\t) saperated.
File format is:-
93 WARNING Sat Mar 17 20:31:59 2012
Sequential_File_0,0: Missing record delimiter "\r\n", saw EOF instead
94 WARNING Sat Mar 17 20:31:59 2012
Sequential_File_0,0: Import... (4 Replies)
Discussion started by: prasson_ibm
4 Replies
4. Shell Programming and Scripting
Hi,
I have a file which contains data in this format
# User@Host: abc @ Id: 0000000
# Query_time: 0.000070 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0
SET timestamp=00000000;
SELECT @@version, @@version_comment;
# User@Host: abcd @ Id: 00000000
# Query_time: 0.000228 ... (6 Replies)
Discussion started by: arijitsaha
6 Replies
5. Shell Programming and Scripting
I need to count the number of lines between two sets of pattern in a file and delete those lines from that file e.g
From jyotiv@yahoo.com
test
test2
test3
test4
test5
test6
From Jyotiv@yahoo.com
So count lines from test to test6 and delete it from the start of file till next From... (1 Reply)
Discussion started by: jyotiv
1 Replies
6. Shell Programming and Scripting
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test
Output
======================... (1 Reply)
Discussion started by: saurabhbaisakhi
1 Replies
7. Shell Programming and Scripting
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test
Input
======================... (1 Reply)
Discussion started by: saurabhbaisakhi
1 Replies
8. UNIX for Dummies Questions & Answers
I want to format a file to limit record length = 100, in each line.
Any idea how i can do this? (1 Reply)
Discussion started by: abhilasha
1 Replies
9. Shell Programming and Scripting
I have a file with following file format -
DMCRH|||83000171|||14022008||0430|||8956612.23|J|||3571235|1378452|23468|6894|9234|
DMCRH|||83000215|||15092007||0480|||121.33|J|||LineID003|RefNumSP003|RefNumMem003|0004|0003|
What i need done is -
1. Cut the firt four digits of the date (eg 1402... (3 Replies)
Discussion started by: divz
3 Replies
10. Shell Programming and Scripting
Hi All,
I have been trying to format a file using sed. I can't seem to get the syntax right. I want to append the next line delemited by a comma or a comma and double quotes. Here is an example of the file I'm tring to format:
Before formatting:
00324
03A0312
BRI-u24
0000324
01
H-12... (4 Replies)
Discussion started by: cstovall
4 Replies
AWESOME(1) AWESOME(1)
NAME
awesome - awesome window manager
SYNOPSIS
awesome [-v | --version] [-h | --help] [-c | --config FILE] [-k | --check]
DESCRIPTION
awesome is a window manager for X. It manages windows in different layouts, like floating or tiled. Any layout can be applied dynamically,
optimizing the environment for the application in use and the task currently being performed.
In a tiled layout, windows are managed in a master and stacking area. The master area contains the windows which currently need the most
attention, whereas the stacking area contains all other windows. In a floating layout windows can be resized and moved freely. Dialog
windows are always managed as floating, regardless of the layout currently applied. The spiral and dwindle layouts are special cases of the
tiled layout where the stacking area is arranged in a spiral for the former or as a rectangular fractal for the later.
Windows are grouped by tags in awesome. Each window can be tagged with one or more tags. Selecting certain tags displays all windows with
these tags.
awesome can contain small wiboxes which can display anything you want: all available tags, the current layout, the title of the visible
windows, text, etc.
OPTIONS
-v, --version
Print version information to standard output, then exit.
-h, --help
Print help information, then exit.
-c, --config FILE
Use an alternate configuration file instead of $XDG_CONFIG_HOME/awesome/rc.lua.
-k, --check
Check configuration file syntax.
DEFAULT MOUSE BINDINGS
Navigation
Button1 on tag name
View tag.
Button4, Button5 on tag name
Switch to previous or next tag.
Button4, Button5 on root window
Switch to previous or next tag.
Button1, Button3, Button4, Button5 on layout symbol
Switch to previous or next layout.
Layout modification
Mod4 + Button1 on tag name
Tag current client with this tag only.
Mod4 + Button3 on tag name
Toggle this tag for client.
Button3 on tag name
Add this tag to current view.
Mod4 + Button1 on client window
Move window.
Mod4 + Button3 on client window
Resize window.
DEFAULT KEY BINDINGS
Window manager control
Mod4 + Control + r
Restart awesome.
Mod4 + Shift + q
Quit awesome.
Mod4 + r
Run prompt.
Mod4 + x
Run Lua code prompt.
Mod4 + Return
Spawn terminal emulator.
Mod4 + w
Open main menu.
Clients
Mod4 + Shift + r
Redraw the focused window.
Mod4 + m
Maximize client.
Mod4 + n
Minimize client.
Mod4 + Control + n
Restore client.
Mod4 + f
Set client fullscreen.
Mod4 + Shift + c
Kill focused client.
Mod4 + t
Set client on-top.
Navigation
Mod4 + j
Focus next client.
Mod4 + k
Focus previous client.
Mod4 + u
Focus first urgent client.
Mod4 + Left
View previous tag.
Mod4 + Right
View next tag.
Mod4 + 1-9
Switch to tag 1-9.
Mod4 + Control + j
Focus next screen.
Mod4 + Control + k
Focus previous screen.
Mod4 + Escape
Focus previously selected tag set.
Layout modification
Mod4 + Shift + j
Switch client with next client.
Mod4 + Shift + k
Switch client with previous client.
Mod4 + o
Send client to next screen.
Mod4 + h
Decrease master width factor by 5%.
Mod4 + l
Increase master width factor by 5%.
Mod4 + Shift + h
Increase number of master windows by 1.
Mod4 + Shift + l
Decrease number of master windows by 1.
Mod4 + Control + h
Increase number of columns for non-master windows by 1.
Mod4 + Control + l
Decrease number of columns for non-master windows by 1.
Mod4 + space
Switch to next layout.
Mod4 + Shift + space
Switch to previous layout.
Mod4 + Control + space
Toggle client floating status.
Mod4 + Control + Return
Swap focused client with master.
Mod4 + Control + 1-9
Toggle tag view.
Mod4 + Shift + 1-9
Tag client with tag.
Mod4 + Shift + Control + 1-9
Toggle tag on client.
Mod4 + Shift + F1-9
Tag marked clients with tag.
CUSTOMIZATION
awesome is customized by creating a custom $XDG_CONFIG_HOME/awesome/rc.lua file.
SIGNALS
awesome can be restarted by sending it a SIGHUP.
SEE ALSO
awesomerc(5) awesome-client(1)
BUGS
Of course there's no bug in awesome. But there may be unexpected behaviors.
AUTHORS
Julien Danjou <julien@danjou.info[1]> and others.
WWW
http://awesome.naquadah.org
NOTES
1. julien@danjou.info
mailto:julien@danjou.info
07/16/2012 AWESOME(1)