Sponsored Content
Top Forums Shell Programming and Scripting How to Print from matching word to end using awk Post 302453591 by frank_rizzo on Wednesday 15th of September 2010 09:01:31 PM
Old 09-15-2010
what have you tried so far? Please post code so we can assist.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print matching field using awk

Hi All, I have a string like below: str="Hold=True Map=False 'This will map the data' Run=Yes Modify=False" I want to print the field Run=Yes and retrive the value "Yes". I cannot use simple awk command because the position of the "Run" will be different at different times. Is there a way... (6 Replies)
Discussion started by: deepakgang
6 Replies

2. Shell Programming and Scripting

awk BEGIN END and string matching problem

Hi, Contents of BBS-list file: foo foo foo awk ' BEGIN { print "Analysis of \"foo\"" } /foo/ { ++n } END { print "\"foo\" appears", n, "times." }' BBS-list Output: Analysis of "foo" "foo" appears 3 times. awk ' (3 Replies)
Discussion started by: cola
3 Replies

3. UNIX and Linux Applications

Print date at END clause of AWK

Hi to all! I 'm new in unix programing so... may be I decided a wrong tool to solve the problem but anyway... all road goes to rome jajaja. My question is: There is any way to print date at the END clause of an AWK script. I mean, I'm writing a tool with AWK and the results are redirected to a... (4 Replies)
Discussion started by: fmeriles
4 Replies

4. Shell Programming and Scripting

Print lines matching value(s) in other file using awk

Hi, I have two comma separated files. I would like to see field 1 value of File1 exact match in field 2 of File2. If the value matches, then it should print matched lines from File2. I have achieved the results using cut, paste and egrep -f but I would like to use awk as it is efficient way and... (7 Replies)
Discussion started by: SBC
7 Replies

5. Shell Programming and Scripting

How to print first matching range in awk?

following is input - <Schema> <schema_name>admin</schema_name> <Version>1.1</Version> <schema_name>admin</schema_name> <Version>1.2</Version> </Schema> ... (12 Replies)
Discussion started by: thearpit
12 Replies

6. Shell Programming and Scripting

Search string in unix and print whole matching word

Hi I have requirement to search string starting with specific characters and print whole matching word in that string. example mystr="ATTRIBUTE NAME="Event Name" VALUE="Execute"" I want to search by passing "NAME=" and result should be NAME="Event Name". i am using below command but... (3 Replies)
Discussion started by: tmalik79
3 Replies

7. Shell Programming and Scripting

How to print in awk matching $1 values ,to $1,$4 example given.?

Hi Experts, I am trying to get the output from a matching pattern but unable to construct the awk command: file : aa bb cc 11 dd aa cc 33 cc 22 45 68 aa 33 44 44 dd aa cc 37 aa 33 44 67 I want the output to be : ( if $1 match to "aa" start of the line,then print $4 of that line, and... (3 Replies)
Discussion started by: rveri
3 Replies

8. Shell Programming and Scripting

awk one liner to print to end of line

Given: 1,2,whatever,a,940,sot how can i print from one particular field to the end of line? awk -F"," '{print $2 - endofline}' the delimiter just happens to be a comma "," in this case. in other cases, it could be hypens: 1---2---whatever---a---940---sot (4 Replies)
Discussion started by: SkySmart
4 Replies

9. UNIX for Advanced & Expert Users

awk print all fields except matching regex

grep -v will exclude matching lines, but I want something that will print all lines but exclude a matching field. The pattern that I want excluded is '/mnt/svn' If there is a better solution than awk I am happy to hear about it, but I would like to see this done in awk as well. I know I can... (11 Replies)
Discussion started by: glev2005
11 Replies

10. Shell Programming and Scripting

How to print few lines before and after matching word is found suing grep?

Hi, here are few lines present in the logs. I want to grep on Error and print few lines before and after Error word is found line1 Line2 Line3 Error Line4 Line5 Line6 Line7 I want the output to be Line2 Line3 Error Line5 (1 Reply)
Discussion started by: arghadeep adity
1 Replies
DOUF00(1)						    BSD General Commands Manual 						 DOUF00(1)

NAME
douf00 -- fat free presentation tool SYNOPSIS
douf00 [-t|--time TIME] [-b|--blank BLANKSLIDE] [-e|--exit] [-s|--pre PREDOUF00] [-p|--post POSTDOUF00] [-B|--blankpage BLANKPAGE] [-S|--password] [-a|--autostart] [SlideDir|PDF] douf00 -h|--help douf00 --version DESCRIPTION
douf00 is a lightweight, slim and straight forward presentation tool. It assists novice as well as expierienced speakers when giving lectures and buissness meetings. With its simple presentors Screen that includes current slide - next slide (preview) aswell as timers it is designed to assist thoose of us, that are willing to step up their lec- tures to the next level. If you place in your presentation directory a file with the name blank.foo where foo can be: jpeg,jpg,png,bmp or pcx that will be your blank slide, which shows up when you start douf00 The options are as follows: --version Show the version number and exit -h|--help Show the help message and exit -t|--time TIME The duration of your presentation in minutes. -b|--blank BLANKSLIDE A blank slide which is shown before the first and after the last slide. Please note, that unless this value is set, the first and last slide will always be black. -e|--exit Exit after the last slide -s|--pre PREDOUF00 Run command PREDOUF00 after startup -p|--post POSTDOUF00 Run command POSTDOUF00 before the exit -B|--blankpage BLANKPAGE The 1-based index of the PDF page to use as the blank slide. -S|--password Ask for the password of the PDF file -a|--autostart Automatically start the presentation CONFIGURATION FILE
There is no requirement for having any configuration file at all. If you do not have a configuration file, the program will use some sane default settings. However, if you have a speakers remote, that you want to work with douf00 you should set it up in the configuration file. FILES
~/.douf00/douf00.conf Default douf00 configuration file BUGS
There is a bug which prevents douf00 from going fullscreen under the compiz(1) window manager. To work around this enable the "Legacy Fullscreen Support" for compiz. Therefor you can use compizconfig-settings-manager. If you experience problems using douf00 please write a bug report to natanoptacek@gmail.com SEE ALSO
impressive(1), keyjnote(1), ooimpress(1) AUTHORS
Martin Natano <natano@natano.net> BSD
June 1, 2019 BSD
All times are GMT -4. The time now is 02:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy