I need to insert a file called temp_impact (which has about 15 lines in it) to a file called 11.23cfg starting at line 33. I searched the forums and found the
sed '34i\
test' 11.23cfg > newfile
That will enter word test at the appropriate line, but i need the entire file dumped there. Any... (4 Replies)
Hi all,
I am trying to zgrep / grep list of files so that it displays only the matching filename:line number and does not display the whole line, like:
(echo "1.txt";echo "2.txt") | xargs zgrep -no STRING
If I use -o option, it displays the matching STRING and if not used, displays the... (3 Replies)
Dear Folks :),
I am new to UNIX scripting and I do not know how can I insert some text in the first column of a UNIX text file at command promtp.
I can do this in vi editor by using this command :g/^/s//BBB_
e,g I have a file named as Test.dat and it containins below text:
michal... (4 Replies)
I wrote a script to grep for a closing XML node. Then I need it to navigate up a line and insert some XML. Then go to the next occurrance. I have this
INSERT_NODE='<QUANTITATIVE NAME="'${QR_NAME}'" QUANT="1" />'
GREP_FOR='</JOB>'
TMP_FILE=/tmp/lineArray.$$
if ]; then
continue
else
... (7 Replies)
I need to insert the output of a script into a specific line number of a txt file.
I've read the Sed man page and searched the forums and it's not immediately clear how I would go about doing this. (4 Replies)
Hi,
I am new to unix. I need to insert a variable which contains some lines of text into a text file after fixed number of lines..
Please help me on this..
Thanks in Advance,
Amrutha (3 Replies)
I have a test file that I want to read and insert only certain lines into the
the table based on a filter.
1. Rread the log file 12 Hours back Getdate() -12 Hours
2. Extract the following information on for lines that say "DUMP is
complete"
A. Date
B. Database Name
C.... (2 Replies)
Hi All,
I am using UNix Sun OS sun4u sparc SUNW,SPARC-Enterprise
My intention is to insert a line of text after 13th line of every file inside a particular directory.
While trying to do it for a single file , i am using sed
sed '3 i this is the 4th line' filename
sed: command garbled: 3... (5 Replies)
i am trying to
insert text at the beginning of every even number line
with awk
i can do it with odd number lines
with this command
awk 'NR%2{$0="some text "$0}1' filehow can i edit this command
thanks (5 Replies)
Discussion started by: bob123
5 Replies
LEARN ABOUT SUSE
pango-view
PANGO-VIEW(1) User Commands PANGO-VIEW(1)NAME
pango-view - Pango text viewer
DESCRIPTION
Usage:
pango-view [OPTION...] - FILE
Help Options:
-h, --help
Show help options
--help-all
Show all help options
--help-cairo
Options understood by the cairo backend
Cairo backend options:
--annotate=1 or 2
Annotate the output
Application Options:
--no-auto-dir
No layout direction according to contents
--backend=cairo/xft/ft2/x
Pango backend to use for rendering (default: cairo)
--background=red/#rrggbb/#rrggbbaa/transparent
Set the background color
-q, --no-display
Do not display (just write to file or whatever)
--dpi=number
Set the resolution
--align=left/center/right
Text alignment
--ellipsize=start/middle/end
Ellipsization mode
--font=description
Set the font description
--foreground=red/#rrggbb/#rrggbbaa
Set the text color
--gravity=south/east/north/west/auto
Base gravity: glyph rotation
--gravity-hint=natural/strong/line
Gravity hint
--header
Display the options in the output
--height=+points/-numlines
Height in points (positive) or number of lines (negative) for ellipsizing
--hinting=none/auto/full
Hinting style
--indent=points
Width in points to indent paragraphs
--justify
Align paragraph lines to be justified
--language=en_US/etc
Language to use for font selection
--margin=pixels
Set the margin on the output in pixels
--markup
Interpret text as Pango markup
-o, --output=file
Save rendered image to output file
--pangorc=file
pangorc file to use (default is ./pangorc)
--pixels
Use pixel units instead of points (sets dpi to 72)
--rtl Set base direction to right-to-left
--rotate=degrees
Angle at which to rotate results
-n, --runs=integer
Run Pango layout engine this many times
--single-par
Enable single-paragraph mode
-t, --text=string
Text to display (instead of a file)
--version
Show version numbers
--waterfall
Create a waterfall display
-w, --width=points
Width in points to which to wrap lines or ellipsize
--wrap=word/char/word-char
Text wrapping mode (needs a width to be set)
Pango module interface version: 1.6.0
pango-view (pango) 1.28.0 March 2010 PANGO-VIEW(1)