07-05-2018
Changed color to darker green. As asked I cannot see how to arrive at a solution, either.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
suppose u have a file
aas P-H 123
gdg O-U 223
hdy I-Y 12
fgd K-O 333
ssa L-P 32
output shud be like that
aas P123H
gdg O223U
hdy I12Y
fgd K333O
ssa L32P
thanks (7 Replies)
Discussion started by: cdfd123
7 Replies
2. AIX
How to replace many numbers with one number in a file.
Many numbers like 444565,454678,443298,etc. i want to replace these with one number (300).Please halp me out. (2 Replies)
Discussion started by: vpandey
2 Replies
3. Shell Programming and Scripting
I am new to unix and awk/sed etc... using C-Shell.
Basically, I have a fixed length file that has 4 different record types on it, H, D, V, W all in column 1. I need to change all the W's in column 1 to D's. in the entire file. The W's can be anywhere in the file and must remain in the same... (3 Replies)
Discussion started by: jclanc8
3 Replies
4. Shell Programming and Scripting
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
Discussion started by: rydz00
7 Replies
5. Shell Programming and Scripting
I have a csv file with occasional multiple entries in the second column.
111111,104,07-24-2011,3.15,N,
222222,020 140,07-24-2011,10.00,N,I want the result
111111,104,07-24-2011,3.15,N,
222222,020,07-24-2011,10.00,N,
222222,140,07-24-2011,10.00,N,
I know I can get the output of the second... (5 Replies)
Discussion started by: ffdstanley
5 Replies
6. Shell Programming and Scripting
Find in first column and replace the line with Awk, and output new file
File1.txt"2011-11-02","Georgia","Atlanta","x","",""
"2011-11-03","California","Los Angeles","x","",""
"2011-11-04","Georgia","Atlanta","x","x","x"
"2011-11-05","Georgia","Atlanta","x","x","" ... (4 Replies)
Discussion started by: charles33
4 Replies
7. Shell Programming and Scripting
Can anyone please help with this? I have 2 files as given below.
If 2nd column of file1 has pattern foo1@a, find the matching 1st column in file2 & replace 2nd column of file1 with file2's value.
file1
abc_1 foo1@a ....
abc_1 soo2@a ...
def_2 soo2@a ....
def_2 foo1@a ........ (7 Replies)
Discussion started by: prashali
7 Replies
8. Shell Programming and Scripting
Hi,
I have two input files as
File1 :
ABC:client1:project1
XYZ:client2-aa:project2
DEF:client4:proj
File2 :
client1:W-170:xx
client2-aa:WT-04:yy
client4:L-005A:zz
Also, array of valid values can be hardcoded like
Output :
ABC:W:project1
XYZ:WT:project2 (1 Reply)
Discussion started by: aa2601
1 Replies
9. Shell Programming and Scripting
hi Friends
need to compare columns in one file where the data looks like below
laptop,IBM
phone,samsung
car,rental
user1,laptop
user2,laptop
user3,phone
want to get output as
laptop,IBM
phone,samsung
car,rental
user1,IBM
user2,IBM
user3,samsung
need to seach $2 in array of $1 and... (4 Replies)
Discussion started by: arun1401
4 Replies
10. Shell Programming and Scripting
I am looking at the NR==FNR posts and trying to use them to achieve the following but I am not getting it.
I have 2 files. I want to match column 8 in file 1 with column 2 in file 2. When they match I want to replace column 9 in file 1 with column 1 in file 2.
This is and extract from file 1
... (5 Replies)
Discussion started by: kieranfoley
5 Replies
LEARN ABOUT CENTOS
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
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=CSS-style numbers in 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.8.0
pango-view (pango) 1.34.1 May 2013 PANGO-VIEW(1)