How would i go about the following,
I open a text document with loads of text, about 150 lines
e.g. "Best Time: 02:55.88"
How would i get perl just to take the time and put into a variable but also be able to take any time like that from the file??
i've done this so far to open the... (2 Replies)
Hello,
So I wanted to write a very simple script to remove some information from a text file and save it as something else.
For example I have a text file (let's call it txt) with three rows of numbers:
0 0 1 9 8 7 5 0 6 7 9
0 0 7 9 8 1 1 6 4 0 6
0 0 9 8 4 6 0 9 2 8 1
And I want to... (2 Replies)
I am in a dire need of doing this job , please help from shell script or perl script. It will be highly appreciated.
Please have a look at the following INPUT file;
The first 14 rows are not of interest but I want them to be included in the output file as they are. From the row 14... (3 Replies)
Hi All,
Please help me out in fllowing problem.
I have text file which contains the data in following format.
Contents of file.txt are
setregid02
Test that setregid() fails and sets the proper errno values when a
non-root user attemps to change the real or effective... (2 Replies)
Hello,
Can anybody please tell me how we can copy and paste text from a word document into a text file that we are editing in vi? Is it possible to do that while we are editing the text file in vi in insert mode?
Thanks, (3 Replies)
Hi,
I have file with the following text,
/analysis2012/533/mc_S10_533/DYJets50/vgtree_1_1_33l.root
/analysis2012/533/mc_S10_533/DYJets50/vgtree_2_5_33l.root
/analysis2012/533/mc_S10_533/DYJets50/vgtree_6_7_33l.root
and many such files. For some operation on these files, I would like... (9 Replies)
so...
Lets assume I have a text file.
The text file contains multiple "#" symbols.
I want to replace all thos "#"s with a STRING using DOS/Batch
I want to add a certain TEXT to the end of each line.
How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
All,
I require a script that grabs some text from the gitHub API and will grep (or other function) for a string a characters that starts with (") quotes followed by two letters, may contain a pipe |, and ending with ) . What i have so far is below but it's not returning anything.
... (4 Replies)
Hi. I've tried several different programs to try and solve this problem, but none of them seem to have done exactly what I want (and I need the file in a very specific format). I have a large file of DNA sequences in a multifasta file like this, with around 15 000 genes:
... (2 Replies)
Hello,
I have some text data that is in the form of multi-line records. Each record ends with the string $$$$ and the next record starts on the next line.
RDKit 2D
15 14 0 0 0 0 0 0 0 0999 V2000
5.4596 2.1267 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 ... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
LEARN ABOUT REDHAT
rec
play(1) General Commands Manual play(1)NAME
play - play any sound file to audio device
rec - record audio to any sound file format
SYNOPSIS
play [fopts] infile [effect]
rec [fopts] outfile [effect]
DESCRIPTION
This manual page briefly documents the play and rec commands.
play and rec are programs that allow you to play and record different types of sound files from the command line. They are front ends to
the more general sox(1) package. Normally, the play command will automatically detect the type and other parameters of the soundfile. If
it can't do so, the parameters can be changed through options.
OPTIONS
A summary of common options are included below. For a complete description of options and their values, see the sox(1) man page.
-c [channels], --channels=[channels]
Define the number of channels in the file.
-d [device], --device=[device]
Specify a different device to play the sound file to.
-f [format], --format=[format]
Specify bit format of the sample. One of s, u, U, A, a, or g.
-r [rate], --rate=[rate]
Specify the sample rate of the audio data (samples per second).
-s [size], --size=[size]
Specify the width of each sample. One of b, w, l, f, d, or D.
-t [type], --type=[type]
Specify audio file format to use. Useful if it can not be automatically determined.
-v [volume], --volume=[volume]
Change the audio volume
-x , --xinu
Reverse the byte order of the sample (only works with 16 and 32-bit data).
-h, --help
Show summary of options.
--version
Show version of play/rec.
Description of effects are described in the
sox(1) man page.
SEE ALSO sox(1)soxexam(1)AUTHOR
This manual page was written by Guenter Geiger <geiger@iem.mhsg.ac.at>, for the Debian GNU/Linux system.
Updates by Anonymous.
December 11, 2001 play(1)