Hi folks,
I have the following template file:
application.filePath.core = /core-RIGHTV/Html/
application.filePath.xbip = /xbip-RIGHTV/Html/
translator.rootContext = /translator_<schame_name>/
I need to substitute the string in the third line "<schema_name>" with $SCHEMA_NAME
I ran the... (4 Replies)
Please Help... I am trying to manipulte the following line
Before :
<user:Account_Password>002786</user:Account_Password>
the password is the "variable", i need to delete / omit the password in the file, (it occurs several thousand times)
so the tag line looks like
After:... (4 Replies)
Hi,
I am trying to search a string from a text file which is in between "" (Double Quotes) (Eg: "Unix"), and replace it with a | where ever it is appearing in the text file and save the file.
Please help me.
-kkmdv (6 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello everyone
Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried
sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Hello.
Following recommendations for one of my threads, this is working perfectly :
#!/bin/bash
CNT=$( grep -c -e "some text 1" -e "some text 2" -e "some text 3" "/tmp/log_file.txt" )
Now I need a grep success for some thing like :
#!/bin/bash
CNT=$( grep -c -e "some text_1... (4 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
I am trying to use the below sed command to replace all "|" to ^, in a folder had 50 dat files. when i tried with 1 file it worked but when i tried with wild card, is not working.
sed -i 's/"|"/\^/g' *.dat
Is this the proper way to use sed command thank you very much for help. (3 Replies)
Discussion started by: cplusplus1
3 Replies
LEARN ABOUT DEBIAN
tcextract
tcextract(1) General Commands Manual tcextract(1)NAME
tcextract - read multimedia file from medium, extract or demultiplex requested stream and print to standard output
SYNOPSIS
tcextract
-i name [ -x codec ] [ -t magic ] [ -a track ] [ -C s-e ] [ -d verbosity ] [ -v ]
COPYRIGHT
tcextract is Copyright (C) by Thomas Oestreich.
DESCRIPTION
tcextract is part of and usually called by transcode.
However, it can also be used independently.
tcextract reads source (from stdin if not explicitely defined) and prints on the standard output.
OPTIONS -i name
Specify input source. If ommited, stdin is assumed. tcextract reads streams from file or from stdin.
-C s-e extract and print out only this frame interval (video) or bytes (audio) [all]. This option is only supported if the source contains
proper information to perform a selective extraction.
-t magic
source file magic. This option is used to identify the source file format if reading is performed from stdin or tcextract fails to
identify the source file format. Supported formats are labeled with magic:
avi RIFF AVI-file
vob MPEG program streams
m2v MPEG elementary video stream
vdr MPEG digital video recording
raw raw bitstream
wav RIFF WAVE audio
yuv4mpeg mjpeg-tools stream header format
-x codec
source pdeudo-codec, if not detected when reading from stdin. Currently, supported parameter for codec are
mp3 MPEG audio
ac3 AC3 audio
a52 A52 audio
dv Digital Video DV
mpeg2 MPEG video
yv12 Y'CbCr YUV
rgb RGB 24-bit
ps1 MPEG private stream (subtitles)
pcm raw audio stream
-a track
extract selected audio or video track from source.
-d level
With this option you can specify a bitmask to enable different levels of verbosity (if supported). You can combine several levels
by adding the corresponding values:
QUIET 0
INFO 1
DEBUG 2
STATS 4
WATCH 8
FLIST 16
VIDCORE 32
SYNC 64
COUNTER 128
PRIVATE 256
-v Print version information and exit.
NOTES
tcextract is a front end for extracting various raw or encoded audio/video tracks from a source and is used in transcode's import pipeline.
EXAMPLES
The command tcextract -i foo.avi -x mp3 -a 3 extracts MPEG audio track 3 from the AVI-file foo.avi and prints the bitstream to stdout.
AUTHORS
tcextract was written by Thomas Oestreich
<ostreich@theorie.physik.uni-goettingen.de> with contributions from many others. See AUTHORS for details.
SEE ALSO avifix(1), avisync(1), avimerge(1), avisplit(1), tcprobe(1), tcscan(1), tccat(1), tcdemux(1), tcextract(1), tcdecode(1), transcode(1)tcextract(1) 26th November 2002 tcextract(1)