I want replace the date(1st column) of all records.
Ex: 05/08/2017 to 04/02/2017
Moderator's Comments:
Please use CODE tags when displaying sample input, sample output, and code segments (as required by the forum rules you agreed to when you joined this forum).
Last edited by Don Cragun; 08-30-2017 at 02:12 AM..
Reason: Add CODE and ICODE tags.
Hi,
I want to replace a character in every line in the file
say the file looks like this
SOBO20060830094122140014541834 WENP0414541835 ]
SOBO20060830094121140014541834 WENP0414541835
SOBO20060830094121140014541834 WENP0414541835
I want to replace the blue 00 by TS. (6 Replies)
Hi All,
I have file contains the following information.
chem00s4.mis.amat.com ] Critical 3/21
chem00s4.mis.amat.com ] Normal 3/22
chem00s4.mis.amat.com ] Normal 3/23
chem00s4.mis.amat.com ] Normal 3/24
chem00s4.mis.amat.com ] Critical 3/25... (2 Replies)
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Hi,
I need to replace a character in a specific position in only the first line of a
file (actually many files). Change T to a P in position 103.
I'm on solaris and my implementation of sed doesn't have the -r capability.
Thx,
Tim (8 Replies)
hi,
I have a doubt in replacing characters with blank.
My requirement is that, i have one file and looks like below
4:ALTER SYSTEM DISCONNECT SESSION '193,191' IMMEDIATE;
6:ALTER SYSTEM DISCONNECT SESSION '205,7274' IMMEDIATE;
5:ALTER SYSTEM DISCONNECT SESSION '206,34158' IMMEDIATE;... (4 Replies)
Greetings UNIX folks,
I am running a tcsh script and trying to replace the last character of a file with the number 0. I know that the last character of the file will always be 1, but I only want to replace the last character.
Example:
78062
26.55
78.77
1
MYGF1
24.89
15.78
1
... (2 Replies)
Hello,
Can anyone help me?
I need to replace the letters (A, B, C..) of the second column in this file by a number i.e. 1.
current file
0123456 0A123 0003355 Marion
1234567 0B117 0003388 Anthony
1112333 0C345 0459877 Ann
new file
0123456 01123 0003355 Marion
1234567 ... (3 Replies)
Hi
I have a large txt file on my AIX server and I need to replace some text using two other files. So filename1 has about 500 lines similar to:
txtcode SYStem100
I have the string I want to change in string2 and the new stringname in string3. Does anyone know a way of doing this? I have... (1 Reply)
Discussion started by: Grueben
1 Replies
LEARN ABOUT OSX
ppmtosixel
ppmtosixel(1) General Commands Manual ppmtosixel(1)NAME
ppmtosixel - convert a portable pixmap into DEC sixel format
SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC
LJ250 color inkjet printer.
If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table
begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file.
OPTIONS -raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com-
pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni-
tude larger than a compressed file and prints much slower.
-margin
If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci-
fied, a 1.5 inch left margin will offset the image.
PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?.
BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was
greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the
color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation.
SEE ALSO ppm(5)AUTHOR
Copyright (C) 1991 by Rick Vinci.
26 April 1991 ppmtosixel(1)