02-05-2009
this did not work, i just want to remove the # marks from the red area, not from the whole file.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Surpisingly, I've only found information regarding removal of files with special characters in the name. My problem is this: files are downloaded to my Unix box from mainframe, and each one has a pound sign as the first character of the filename.
original:
#FONT
what I need:
FONT
... (4 Replies)
Discussion started by: kristy
4 Replies
2. HP-UX
Can someone help me with this command?
I want to replace amount fields which are in the format $99.99 to 99.99 in a large data file which is within a HP box.
I use Vi editor and tried this command
:1,$s//$///g
And this does not seem to work
Also, I want to replace ^M with spaces in the... (1 Reply)
Discussion started by: dtonse
1 Replies
3. Shell Programming and Scripting
I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Discussion started by: Glider
1 Replies
4. Shell Programming and Scripting
Hi,
Can anyone help me parse the code bellow. I have a file with several lines. I ant to put an 'X' on the lines that ONLY have an '=' in them ignoring comma's, spaces etc..
So:
/*
,
systems.menuLabel.new=New
systems.menuLabel.new.mnemonic=N
*/
Would look like:
/*
,
... (9 Replies)
Discussion started by: jascas
9 Replies
5. Shell Programming and Scripting
I'm trying to enter ¥ yen sign which is a part of a complex password in terminal putty thru bash shell
how can i type such character in terminal or even write it in a file as a stdin for the client
thanks
---------- Post updated at 05:38 PM ---------- Previous update was at 02:07 PM... (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies
6. Shell Programming and Scripting
I have a binary (hex) file I need to parse to get some data which are encoded this way:
.* b4 . . . 01 12 .* af .* 83 L1 x1 x2 xL 84 L2 y1 y2 yL
By another words there is a stream of hexadecimal bytes (in my example separated by space for better readability). I need to get value stored in... (3 Replies)
Discussion started by: sameucho
3 Replies
7. Shell Programming and Scripting
PFB my shell script which reads a csv file to process it
###############################################
fn_java(){
echo JAVA_TOP is $JAVA_TOP
echo "cp $filename $filepath/$filename"
cp $filename $filepath/$filename
}
#########################################... (9 Replies)
Discussion started by: Prasannag87
9 Replies
8. Linux
Please help me, wasted hrs:wall:, to find this soulution:-
I need a command that will work on file (xml) and replace multiple occurrence (more than 2 times)
Examples
1. '==='
2. '===='
3. '======='
should be replaced by just '=='
Note :- single character should be replaced. (=... (13 Replies)
Discussion started by: RedRocks!!
13 Replies
9. Shell Programming and Scripting
HI
I'm terribly new to perl .. I;ve been trying to use this command to search and replace entries in a file
I tried this and it works
perl -p -i -e 's/old/new/' filename
Problem is that I have a list of email addresses and I need to serach and replace the entire email address as my... (5 Replies)
Discussion started by: mnassiri
5 Replies
10. UNIX for Dummies Questions & Answers
I have an xml file which is generated in a single line an looks like this
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><Batch_Id="1999996" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><some data....><some data....>closing lines......
I need to have a separate line... (3 Replies)
Discussion started by: vx04
3 Replies
LEARN ABOUT SUSE
yuvinactive
yuvinactive(1) MJPEG tools manual yuvinactive(1)
NAME
yuvinactive - Set a part of the video to a defined state
SYNOPSIS
yuvinactive [options] </dev/stdin >/dev/stdout
DESCRIPTION
yuvinactive operates with a area (rectangle) you define. By default is sets it to really black. But you can tell tell yuvinactive to
darken the area, or fill it with a certain color. It can also make the content of the area unreadable, like extreme softening of the area.
Or copy the surrounding area into the the specified area. You usually have to use the -i option which sets the area in which yuvinactive
will work. If no additional option is given yuvinactive stet the area to black. But you can use the -d -s -a -c options to tell yuvinac-
tive that it shall do something different with that area. You can only use one additional option. yuvinactive was built to remove unwanted
things like a logo, from the movie.
OPTIONS
lav2yuv accepts the following options:
-h Some help output
-iXxY+XOFF+YOFF
Specifies the area yuvinactive shall work with. With this option the area is set to black. There are no restrictions because of inter-
lacing.
-d num
How much darker the area should be compared to the original color. This is done by setting a lower value for the luma. The value is
in percent from the original luma.
-s num
Here you specify a certain color in the yuv format.
-a num
With this option the program uses on pixel and averages the surrounding pixels with the same color to make the original less readable.
The number tells the the program how much pixels around the original pixel should be overwritten with the same color. You have to use
a even number here
-c num
Sets the number of surrounding pixels yuvinactive should use to copy them into the given area. You have to use a even number here.
yuvinactive uses the lines above and below the specified area for copying them into the area.
BUGS
Right, there are bugs hidden. The thing is not well tested, and not every option might work. yuvinactive is in the first state of becoming
a useful program.
AUTHOR
This man page was originally written by Bernhard Praschinger.
If you have questions, remarks, problems or you just want to contact the developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
For more info, see our website at
http://mjpeg.sourceforge.net
SEE ALSO
mjpegtools(1), lav2yuv(1), mpeg2enc(1), yuvscaler(1), yuv2lav(1), yuvdenoise(1), yuvplay(1), yuvmedianfilter(1)
MJPEG Linux Square 30 October 2003 yuvinactive(1)