The scripts posted earlier in the thread work on the original data as input, not what you are giving it. Did you try with the original data? I ran the original data through the two I posted and the one that Don posted and all yield what I expected to be the desired output.
Hi I am totally new to Unix and I am in need of a script that can grep several files at once.
the script needed:
change directory
grep for keywords "error" "fail" "warning" in different files with different names, same extention but specific file names.
if any of the keywords is found to show... (4 Replies)
Hi I have find some account numbers from .gz files.
There thousands of .gz files, also i am unable to grep .gz / .z files.
I want to find file names & and those lines from list.
Could you pls tell me / give me any syntax for finding word from ,gz files using grep?
Thanks in advance (8 Replies)
I have a script to GREP for a text expression within certain files, the files being named file.11012008 thru file.11302008. 30 files in all, one for each day of the month.
Instead of entering the following 3 lines of code 30 different times, I'm trying to find a way to loop the process:
... (6 Replies)
Hi,
Have two files.
1. robin.log
2. robin_log
When is grep i shuld get only robin.log file.
Please help.
I Tried ls | grep ".log" But its not working
Thanks
Robin (6 Replies)
Hi All, I need to grep few files which has words like the below in the file name , which i want to put it in a file and and grep for the files which contain these names and move it to a new directory ,
full file name -C20091210.1000-20091210.1100_SMGBSC3:1000... (2 Replies)
I am not sure if i am doing this correctly since it returns quickly. i need to grep for a keyword in all files in a directory
grep keyword /mydirectory
is that correct? I just want to know which files have a keyword in it.
i am using korn shell in solaris 5.1. There does not appear to... (12 Replies)
Hi,
I have around 200,000 files in a given directory.
I need to cat each of these files and grep them for thousands of identifier values (or strings) in a given text file.
The text file looks something like this:
1234
1243545
1234353
121324
etc with thousands of entries.
Can... (3 Replies)
Hi
I Have a directory and i have some files below
abc.txt
abc.gif
gtee.txt
ghod.pid
umni.log
unmi.tar
How can use glob function to grep abc files , i have created a variable "text" and i assigned value as "abc", please suggest me how can we use glob.glob( ) to get the output as below... (2 Replies)
I have two file one will have WWN and port details and another file will have allies name. I need to check what allies name was given to each wwn and create a consolidate report which will both port details, allies name.
file one switchshow
133 1 21 188500 id N4 ... (4 Replies)
Discussion started by: ranjancom2000
4 Replies
LEARN ABOUT DEBIAN
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)