Sponsored Content
Top Forums Shell Programming and Scripting Search a string and append text after the string Post 302215661 by kesu2k on Thursday 17th of July 2008 12:39:27 AM
Old 07-17-2008
awesome..Thanks Annihilannic..It helped ..thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

appending string to text file based on search string

Hi, I need to append string "Hi" to the beginning of the lines containing some specific string. How can I achieve that? Please help. Malay (1 Reply)
Discussion started by: malaymaru
1 Replies

2. Shell Programming and Scripting

Trying to search for a string and append text only once

Hi I am trying to search for a particular occurrence of a string in a file, and if found, append another string to the end of that line. Here is my file contents: column1 userlist default nowrite=3 output=4 column2 access default nowrite=3 Here is the code: A="user=1... (1 Reply)
Discussion started by: bludhemn
1 Replies

3. Shell Programming and Scripting

Search for a string, then append character to end of that line only

I have 2 files that I am working with $ cat file1 server1 server3 server5 server6 server8 $ cat file2 server1;Solaris; server2; SLES; server3;Linux; server4; Solaris; server5;SLES; server6;SLES; server7;Solaris; server8;Linux; (1 Reply)
Discussion started by: snoman1
1 Replies

4. Shell Programming and Scripting

Search several string and convert into a single line for each search string using awk command AIX?.

I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios. Cat test Nov 10, 2012 5:17:53 AM INFO: Request Type Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies

5. Shell Programming and Scripting

sed - Find a String and append a text end of the Line

Hi, I have a File, which have multiple rows. Like below 123456 Test1 FNAME JRW#$% PB MO Approver XXXXXX. YYYY 123457 Test2 FNAME JRW#$% PB MO Super XXXXXX. YYYY 123458 Test3 FNAME JRW#$% PB MO Approver XXXXXX. YYYY I want to search a line which contains PB MO Approver and append... (2 Replies)
Discussion started by: java2006
2 Replies

6. Shell Programming and Scripting

Search a string in a text file and add another string at the particular position of a line

I am having a text file which is having more than 200 lines. EX: 001010122 12000 BIB 12000 11200 1200003 001010122 2000 AND 12000 11200 1200003 001010122 12000 KVB 12000 11200 1200003 In the above file i want to search for string KVB and add/replace... (1 Reply)
Discussion started by: suryanarayana
1 Replies

7. Shell Programming and Scripting

Search a string in a text file and add another string at the end of line

Dear All I am having a text file which is having more than 200 lines. EX: 001010122 12000 BIB 12000 11200 1200003 001010122 2000 AND 12000 11200 1200003 001010122 12000 KVB 12000 11200 1200003 In the above file i want to search for string KVB... (5 Replies)
Discussion started by: suryanarayana
5 Replies

8. Shell Programming and Scripting

To Search for a string and to extract the string from the text

Hi Team I have an huge xml where i need to search for a ceratin numbers. For example 2014-05-06 15:15:41,498 INFO WebContainer : 10 CommonServicesLogs - CleansingTriggerService.invokeCleansingService Entered PUBSUB NOTIFY MESSAGE () - <?xml version="1.0" encoding="UTF-8"... (5 Replies)
Discussion started by: Kannannair
5 Replies

9. Shell Programming and Scripting

Need comand or script for append text after searching for the desired string

Hi all, i have a generated report in unix in the following command like input.txt 47.85,10 0124,42.35,8 0125,3.5,2 the input file format is fixed I need the my output file with append text as below output.txt 0124 amount:42.35 0125 amount:3.5 0124 count : 8 0125... (34 Replies)
Discussion started by: hemanthsaikumar
34 Replies

10. UNIX for Beginners Questions & Answers

Search a string and display its location on the entire string and make a text file

I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file. Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 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)
All times are GMT -4. The time now is 03:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy