I need help with a perl parsing script. I have some error logs on a windows machine that I need to parse from a text file, but I know nothing about perl. I usually run this bash script on my linux box and it does just what I need. How would I do the same thing with perl and port it to my windows... (2 Replies)
Hello everyone. I am new to linux and need help again. I need help converting this bash shell to linux:
for i in `ls -l *.txt`
do
`./cnvidtf.pl $i`
`curl -u login:pswd --disable-espv -T loadfile.seq ftp://11.1.11.1`
`mysql -u login -h 11.1.11.1 -ppswd < lddocs.sql`
done
Thanks! Any help... (6 Replies)
Hi,
typeset -l sgf # all lowercase letters
typeset -u SGF # all uppercase letters
sgf=$1
SGF=$sgf
these lines used in my scripts . It ran fine in ksh but when we convert this to bash it erroring out.
I like to know what the use of typeset ??
Thanks & Regards
kanagaraj (3 Replies)
Hi,
I am just trying to convert the batch script to bash script and i am stuck at one point where I have the below code
for /f "delims=" %%a in (a.txt) do (
for /f "tokens=1,2,3* delims==" %%i in ("%%a") do (
for /f "tokens=1,2,3* delims= " %%x in ("%%i") do (
if... (4 Replies)
I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
This is a small program as a tester for a basic sweep generator for bandwidth testing of AudioScope.sh.
This DEMO is only capable of 4KHz down to about 85Hz and back due to the low bit rate, but it is proof of concept for a much wider variant using a much higher bit rate.
The file generated... (4 Replies)
I have a script below and wanted to change the output into three different file format (3 separate script)
#!bin/bash
#input file format postwrf_d01_20131206_0600_f08400.grb2
#postwrf_d01_YYYYMMDD_ZZZZ_f0HHHH.grb2
#zzzz= 0000,0600,1200,1800 (in UTC)
#HHHH=00000,00600,01200,01800 ..ect (in... (1 Reply)
Discussion started by: cumulus_255
1 Replies
LEARN ABOUT DEBIAN
ogginfo
ogginfo(1) Vorbis Tools ogginfo(1)NAME
ogginfo - gives information about Ogg files, and does extensive validity checking
SYNOPSIS
ogginfo [ -q ] [ -v ] [ -h ] file1.ogg ... fileN.ogg
DESCRIPTION
ogginfo reads one or more Ogg files and prints information about stream contents (including chained and/or multiplexed streams) to standard
output. It will detect (but not correct) a wide range of common defects, with many additional checks specifically for Ogg Vorbis streams.
For all stream types ogginfo will print the filename being processed, the stream serial numbers, and various common error conditions.
For Vorbis streams, information including the version used for encoding, the sample rate and number of channels, the bitrate and playback
length, and the contents of the comment header are printed.
Similarly, for Theora streams, basic information about the video is provided, including frame rate, aspect ratio, bitrate, length, and the
comment header.
OPTIONS -h Show a help and usage message.
-q Quiet mode. This may be specified multiple times. Doing so once will remove the detailed informative messages, twice will remove
warnings as well.
-v Verbose mode. At the current time, this does not do anything.
AUTHORS
Michael Smith <msmith@xiph.org>
SEE ALSO vorbiscomment(1), ogg123(1), oggdec(1), oggenc(1)Xiph.Org Foundation July 10, 2002 ogginfo(1)