06-26-2019
I don't quite follow what you're after.
Could you try to elaborate one more time, please.
A sample input and output could help as well.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello: Can anyone please decode this script in English. I have also made some comments which I know.. The actual script does not have one comment also..
#! /bin/ksh
. odbmsprd_env.ksh #setting the env..
echo $0 Started at : `date '+%d-%m-%Y %H:%M:%S'`
# what's echo $0
... (4 Replies)
Discussion started by: ST2000
4 Replies
2. Shell Programming and Scripting
In pine email, when you receive an email with an attachment, the content of the attachment is incoded (content-transfer-encoding: base64). I am trying to write a shell script that will read the mail file, and it will save the attachment of an email to a directory.
I want to do this by reading... (6 Replies)
Discussion started by: mskarica
6 Replies
3. Shell Programming and Scripting
Okay,
This is not something I've tried to do before, but what I want (need) to do is when a value is read in it gets changed to the value needed.
I've been given a list of ids that I need to check against the ids I have in my system, but as is the case we don't have the same naming convention... (2 Replies)
Discussion started by: nhatch
2 Replies
4. Shell Programming and Scripting
Dear All,
I want to decode the one of the file field.
Input file:
9393939393|999|2009-02-20 00:00:01|2||4587|2007-02-28 00:00:01|0
9393939393|2001|2009-02-20 00:00:01|2||4587|2007-02-28 00:00:01|0
9393939393|1500|2009-02-20 00:00:01|2||4587| 2007-02-28 00:00:01|0... (1 Reply)
Discussion started by: hanu_oracle
1 Replies
5. Programming
Hi,
How to decode an image using openGL library libjpeg ..
which are the steps needed to do this using C language..
actually my work is to decode the image, store it on the buffer,
and place it on cube surface..
please guide me,,any answer will appreciated .. (8 Replies)
Discussion started by: Ravikishore
8 Replies
6. UNIX for Advanced & Expert Users
Hi Experts,
Any idea how to decode file handle in HP-UX? I am getting the following error continously in my HP-UX 11.31 box :mad:
Apr 26 07:15:00 host62 su: + tty?? root-bb
Apr 26 07:15:00 host62 su: + tty?? root-abcadm
Apr 26 07:15:01 host62 vmunix: NFS write error on host peq9vs:... (1 Reply)
Discussion started by: vipinable
1 Replies
7. Linux
What will the below statement do ?:confused:
&&
{
&& {eval `/bin/setup 1`} || && { VAR="/tmp" }
export $VAR;
} (3 Replies)
Discussion started by: krishnaux
3 Replies
8. Shell Programming and Scripting
HI experts....I am trying to decode some text files... I need little help from you people...file is of mixed type...from generated from windows based system
my text files looks like this...
2.AUBZ 158 1 11 116204310 6 N 7542 E 18
02846 52833 102821 152815 ... (9 Replies)
Discussion started by: Akshay Hegde
9 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have an encoded file and I wish to see what is written inside.
The first line is given below:
eval "$(dd if=$0 bs=1 skip=69 2>/dev/null|gpg -d 2>/dev/null)"; exit
PS: When I google above code, it says that command is use for encryption...
Following lines include many strange... (2 Replies)
Discussion started by: baris35
2 Replies
10. Windows & DOS: Issues & Discussions
I have received a file from a Windows server that in Linux hexedit shows the following first few characters.
AA 18 3C 2B 60 56 03 00 00 01 01 00
The Windows program may have received this via RS232.
I need to "understand" this on a Linux machine.
Please suggest where I may start decoding... (4 Replies)
Discussion started by: Alf Stockton
4 Replies
oggdec(1) Vorbis Tools oggdec(1)
NAME
oggdec - simple decoder, Ogg Vorbis file to PCM audio file (WAV or RAW).
SYNOPSIS
oggdec [ -Qhv ] [ -b bits_per_sample ] [ -e endianness ] [ -R ] [ -s signedness ] [ -o outputfile ] file ...
DESCRIPTION
oggdec decodes Ogg Vorbis files into PCM-encoded ("uncompressed") audio files, either WAV or RAW format.
For each input file, oggdec writes to a filename based on the input filename, but with the extension changed to ".wav" or ".raw" as appro-
priate.
If the input file is specified as - , then oggdec will read from stdin, and write to stdout unless an output filename is specified. Like-
wise, an output filename of - will cause output to be to stdout.
Writing WAV format to stdout is a bad idea. WAV requires a seekable medium for the header to be rewritten after all the data is written
out; stdout is not seekable.
OPTIONS
-Q, --quiet
Suppresses program output.
-h, --help
Print help message.
-v, --version
Display version information.
-b n, --bits=n
Bits per sample. Valid values are 8 or 16.
-e n, --endian=n
Set endianness for 16-bit output. 0 (default) is little-endian (Intel byte order). 1 is big-endian (sane byte order).
-R, --raw
Output in raw format. If not specified, writes WAV file (RIFF headers).
-s n, --sign=n
Set signedness for output. 0 for unsigned, 1 (default) for signed.
-o filename, --output=filename
Write output to specified filename. This option is only valid if one input [file] is specified.
EXAMPLES
Decode a file enabler.ogg to enabler.wav
as little-endian unsigned 16-bit (default options):
oggdec enabler.ogg
Decode a file enabler.ogg to enabler.raw as headerless little-endian unsigned 16-bit:
oggdec --raw=1 enabler.ogg
Decode enabler.ogg to enabler.crazymonkey as unsigned 8-bit:
oggdec -b 8 -s 0 -o enabler.crazymonkey enabler.ogg
Decode enabler.ogg to enabler.raw as big-endian signed 16-bit (any of the following):
oggdec -R -e 1 -b 16 enabler.ogg
oggdec -R -e 1 -b 16 -o enabler.raw - < enabler.ogg
oggdec -R -e 1 -b 16 - < enabler.ogg > enabler.raw
Mass decoding (foo.ogg to foo.wav, bar.ogg to bar.wav, quux.ogg to quux.wav, etc.):
oggdec *.ogg
SEE ALSO
ogg123(1)
AUTHORS
Program Authors
Michael Smith <msmith@xiph.org>
Manpage Authors
Frederick Lee <phaethon@linux.ucla.edu>, assisted by a few million monkeys armed with keyboards in irc://irc.openprojects.net/#vorbis
2002 July 03 oggdec(1)