05-15-2008
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I want to delete the content of some files,which are specified through wild-card option,but i want to restore the file.
I.e I just want to delete the contents file parameters shouldn't be changed.
.
Please provide me the answer.
Thaning u all in advance
Athresh (4 Replies)
Discussion started by: athresh
4 Replies
2. Shell Programming and Scripting
I'm just starting out in scripting (taking online classes) but I need to know how to clean out (delete) the content of a number of logs. All of the files end in 'trc'. Does anyone have a script or command (SED or AWK) I can use?
Julie (4 Replies)
Discussion started by: Jbolin01
4 Replies
3. Shell Programming and Scripting
Hi,
I've a shell script e.g.
#!/bin/bash
echo "Enter the next hop id"
read nhid
echo "enter the IP address"
read IP
echo "enter the interface name"
read name
echo "enter the enable/disable state"
read state
exit 0
now from this script i want to search strings in another (.cam)
... (6 Replies)
Discussion started by: vic_mnnit
6 Replies
4. Shell Programming and Scripting
OK, best is I explain what the operating enviroment is.
Linux, but Motomagx. It is a Linux operated mobile phone, Motorola V8.
I am writting a shell script, but got stuck.
I have to delete the complete content of file 1 in file 2.
I have attached the 2 files.
You can see that the content of... (2 Replies)
Discussion started by: rasputin007
2 Replies
5. Shell Programming and Scripting
Hello Team,
Any one suggest how to delte the below special character from a file which is having one column 10 rows of same below content.
----------------------------------------
Kosten|bersicht gemd_ ' =Welche Kosten kvnnen... (2 Replies)
Discussion started by: kanakaraju
2 Replies
6. Shell Programming and Scripting
I have the file sed1.txt and I need to strip the brackets (]) and content inside them only when
I have two or three letters followed by a colon.
for example,it may be any letter, not just abc
]
]
#-- cat sed1.txt
1 ] FISICA
2 ]PORTUGUES
3 ] ]MATEMATICA
4 ]]INGLES ]
5 ]QUIMICA
6... (2 Replies)
Discussion started by: dperboni
2 Replies
7. Shell Programming and Scripting
I have following script to ping multiple ips but i want to delete ip.csv file content after running script .....but before deleting content i have ask user yes/No prompt depend on user input Yes/no ip.csv content will delete..
#!/bin/bash
for enodeb in `cat /tmp/ip.csv`
do
ping -c 2... (3 Replies)
Discussion started by: Ganesh Mankar
3 Replies
8. Shell Programming and Scripting
Hello,
I have been trying to write a script where I could get awk to delete data before and after a matched pattern.
For eg
Raw data
Start
NAME = John
Age = 35
Occupation = Programmer
City = New York
Certification Completed = No
Salary = 80000
End
Start
NAME = Mary
Age = 25... (2 Replies)
Discussion started by: sidnow
2 Replies
9. UNIX for Beginners Questions & Answers
Hi,
How to Delete all mbox content in AIX?
Thanks. (2 Replies)
Discussion started by: big123456
2 Replies
LEARN ABOUT DEBIAN
oggz-comment
oggz-comment(1) General Commands Manual oggz-comment(1)
NAME
oggz-comment -- List or edit comments in an Ogg file.
SYNOPSIS
oggz-comment [-l | --list ]
oggz-comment [-o filename | --output filename ] [-d | --delete ] [-a | --all ] [-s serialno | --serialno serialno ] [-c content-
type | --content-type content-type ] filename
oggz-comment [-h | --help ] [-v | --version ]
Description
oggz-comment lists or edits the comments of an Ogg file.
Options
oggz-comment accepts the following options:
Listing options
-l, --list
List the comments in the given file.
Editing options
-o filename, --output filename
Write output to the specified filename.
-d, --delete
Delete comments before editing.
-a, --all Edit comments for all logical bitstreams.
-c content-type, --content-type content-type
Edit comments of the logical bitstreams with specified content-type. Run oggz-known-codecs(1) for a full list of codecs known by
the installed version of oggz.
-s serialno, --serialno serialno
Edit comments of the logical bitstream with specified serialno.
Miscellaneous options
-h, --help
Display usage information and exit.
-v, --version
Output version information and exit.
EXAMPLES
List all comments in file.ogg:
oggz comment -l file.ogg
List only the comments in the Theora bitstream in file.ogv:
oggz comment -l -c theora file.ogv
Add the comment "GENRE=Rock" to the Vorbis bitstream of file.ogv, writing output to output.ogv:
oggz comment -c vorbis -o output.ogv file.ogg GENRE=Rock
AUTHOR
Kangyuan Niu August 5, 2007;
COPYRIGHT
Copyright (C) 2007 Annodex Association
SEE ALSO
vorbiscomment(1), ogginfo(1), oggz-info(1), hogg(1)
oggz-comment(1)