Sponsored Content
Full Discussion: Chemist Needs Help part II
Top Forums UNIX for Dummies Questions & Answers Chemist Needs Help part II Post 302269518 by mbubb on Wednesday 17th of December 2008 11:18:13 PM
Old 12-18-2008
Hello

I tried it and got a similar err. But I took the offered solution and dropped out the 'else' part of the statement.

Code:
 awk '{ if (NR>8) { print $1, $2 } }' /tmp/transport.txt > newfile


worked perfectly

yrs


Michael
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help part 2

Ok well this isn't homework or classwork, I have been done with school for many years. I offered to help my co-worker who's daughter needs help. I didn't realize I had got rid of all of my UNIX books until after I agreed to help. (3 Replies)
Discussion started by: penguin123
3 Replies

2. Shell Programming and Scripting

help me in this part

why we use strcpy and strcat in KSH program?? (1 Reply)
Discussion started by: debasis.mishra
1 Replies

3. Shell Programming and Scripting

get integer part

Hi, I did a df|awk| command and it returns a percentage "94%", how could I only get the integer part "94" out of it, so I can compare it to another number, I knwo that I have to pipe it to sth, but "grep " did not work, it still give me number WITH the percentage, does someone know what... (3 Replies)
Discussion started by: ericaworld
3 Replies

4. UNIX for Dummies Questions & Answers

Chemist Needs Help

Hello All I am a chemist and really dont know too much about programming but here goes. Essentially I need to create a script that I can run which will do the following. Create a file where the first four lines are a set of commands that are the same for all the files. E.g ln1: comment... (40 Replies)
Discussion started by: gingburg
40 Replies

5. Shell Programming and Scripting

comparing part of header with part of detailed records.

Hi there, I am lil confused with the following issue. I have a File, which has the following header: IMSHRATE_043008_101016 a sample detailed record is :9820101 A982005000CAVG030108000000000000010169000MAR 2008 9820102 MAR 2008 D030108 ... (1 Reply)
Discussion started by: cmaroju
1 Replies

6. Shell Programming and Scripting

[Solved] Printing a part of the last line of the specific part of a file

Hi, I have 80 large files, from which I want to get a specific value to run a Bash script. Firstly, I want to get the part of a file which contains this: Name =A xxxxxx yyyyyy zzzzzz aaaaaa bbbbbb Value = 57 This is necessary because in a file there are written more lines which... (6 Replies)
Discussion started by: wenclu
6 Replies

7. Shell Programming and Scripting

Part of log

hi, i have a requirement where i need to grep the part of the log file of last 5 minutes back. 00000011 ViewReceiver I DCSV1033I: DCS Stack DefaultCoreGroup at Member usa0300ux423Cell01\usa0300ux423QASrv02\server1: Confirmed all new view members in view identifier... (4 Replies)
Discussion started by: lovelysethii
4 Replies

8. UNIX for Beginners Questions & Answers

How to make a loop to read the input from a file part by part?

Hi All, We've a VDI infrastructure in AWS (AWS workspaces) and we're planning to automate the process of provisioning workspaces. Instead of going to GUI console, and launching workspaces by selecting individual users is little time consuming. Thus, I want to create them in bunches from AWS CLI... (6 Replies)
Discussion started by: arun_adm
6 Replies
EXTRACTOR(1)						  The Canonical Csound Reference					      EXTRACTOR(1)

NAME
extractor - Extract a section of audio from an audio file. . DESCRIPTION
Extract a section of audio, by time or sample, from an existing sound file. SYNTAX
extractor [OPTIONS ... ] infile INITIALIZATION
Flags: o -S integer = Start the extract at the given sample number. o -Z integer = End the extract at the given sample number. o - Q integer = Extract given number of samples. o -T fpnum = Start the extract at the given time in seconds. o -E fpnum = End the extract at the given time in seconds. o -D fpnum = Extract given time in seconds. o -v = Verbose mode. o -R = Continually rewrite the header while writing soundfile (WAV/AIFF). o -H integer = Show a "heart-beat" to indicate progress, in style 1, 2 or 3. o -N = Alert call (usually ringing the bell) when finished. o -v = Verbose mode. o -o fname = output file name (default: test.wav) EXAMPLES
The default values are extractor -S 0 -Z end-of-file -otest For example extractor -S 10234 -D 2.13 in.aiff -o out.wav This creates a new sound file taken from sample 10234 and lasting 2.13 seconds. CREDITS
Author: John ffitch 1994 AUTHORS
Barry Vercoe MIT Media Lab Author. Dan Ellis MIT Media Lab, Cambridge Massachussetts Author. COPYRIGHT
5.07 06/23/2009 EXTRACTOR(1)
All times are GMT -4. The time now is 08:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy