I have one large file, after every 200 line i have to split the file and the add header and footer to each small file?
It is possible to add different header and footer to each file? (1 Reply)
I have one large file, after every 200 line i have to split the file and the add header and footer to each small file?
It is possible to add different header and footer to each file? (7 Replies)
Hi All,
I have several txt files i need to enter specific header and footer (both are separate) to all these files how can i do this? plz help..
Regards,
Raghav (4 Replies)
Hi,
I need to check whether the incoming file has a header and footer using a UNIX script. The pattern of the header and footer is fixed as follows:
Header: Name,Date
Footer: Count, Total
Name,Date
-------------------------
-------------------------
-------------------------
Count,... (5 Replies)
I want to delete the header and footer in the file by using sed for that i ran the below script and my text file looks like
emp.txt
# This file contain employee
# information
abc 12300 34 'FGH'
# This is confidential as per the firm rules.
my intention is to remove the header... (8 Replies)
Hi All,
I need to write a script that In my file I have to check header and footer records are available or not. If it is available I have to run the script, otherwise I should not. But current script it is checking only the data inside the script. It is avoiding to check Header and Footer... (1 Reply)
I have two files which are getting sent to a UNIX server in order to be bcp'd into a database. The bcp is failing because there's a header and footer row on the file which give the date of the file and the number of rows in it. That's because the file is also being used for another process, so we... (1 Reply)
This is my file(Target.txt)
name|age|locaction
abc|23|del
xyz|24|mum
jkl|25|kol
The file should be like this
1|03252012
1|name|age|location
2|abc|23|del
2|xyz|24|mum
2|jkl|25|kol
2|kkk|26|hyd
3|4
Column 1 is row indicator
for row 1 and 2, column indicator is 1,for data rows... (1 Reply)
Hi I have below requirements on the script below :
(1) I receive 2 pipe seperated file called OUT.psv and DIFF.psv with a column header.I concatenate the 2 files and create a final.psv file. I want to add another header as START_FILE to the final.psv file . How to achieve this ?
(2) I have... (5 Replies)
Discussion started by: samrat dutta
5 Replies
LEARN ABOUT REDHAT
vorbiscomment
VORBISCOMMENT(1) Vorbis Tools VORBISCOMMENT(1)NAME
vorbiscomment - edits Ogg Vorbis comments
SYNOPSIS
vorbiscomment [-l] file.ogg
vorbiscomment -a [ -t "tag=value" ] in.ogg out.ogg
vorbiscomment -w in.ogg out.ogg
DESCRIPTION
vorbiscomment reads, modifies, and appends Ogg Vorbis audio file metadata tags.
OPTIONS -a Append comments.
-c commentfile
Take comments from a file. The file is the same format as is output by the the -l option: one element per line in 'tag=value' for-
mat.
-h Show command help.
-l List the comments in the ogg vorbis file.
-q Quiet mode. No messages are displayed.
-t 'tag=value'
Specify a new tag on the command line. Each tag is given as a single string. The part before the '=' is treated as the tag name and
the part after as the value.
-w Replace comments with the new set given either on the command line with -t or from a file with -c.
EXAMPLES
To just see what comment tags are in a file:
vorbiscomment -l file.ogg
To edit those comments:
vorbiscomment -l file.ogg > file.txt
[edit the comments in file.txt to your statisfaction]
vorbiscomment -w -c file.txt file.ogg newfile.ogg
To simply add a comment:
vorbiscomment -a -t 'ARTIST=No One You Know' file.ogg newfile.ogg
SEE ALSO
See http://xiph.org/ogg/vorbis/doc/v-comment.html for documentation on the Ogg Vorbis tag format, including a suggested list of canonical
tag names.
AUTHORS
Program Authors:
Michael Smith <msmith@labyrinth.net.au>
Ralph Giles <giles@xiph.org>
Manpage Author:
Christopher L Cheney <ccheney@debian.org>
Xiph.org Foundation December 24, 2001 VORBISCOMMENT(1)