Sponsored Content
Full Discussion: Chemist Needs Help part II
Top Forums UNIX for Dummies Questions & Answers Chemist Needs Help part II Post 302269728 by vbe on Thursday 18th of December 2008 11:19:15 AM
Old 12-18-2008
Jim:
Code:
ant:/test $ awk '{ if (NR>8) {print $1, $2} else {continue}}' transport.txt > newfile
ant:/test $ more newfile                                                       
 
E/N Ko
 
0.69 3.8107
2.11 3.8124
2.96 3.8143
3.55 3.8159
4.26 3.8183
5.10 3.8217
5.86 3.8252
6.74 3.8298
7.74 3.8358
8.50 3.8408
9.34 3.8468
10.26 3.8540
10.75 3.8581
11.28 3.8625
11.83 3.8673
12.40 3.8725
13.01 3.8780
13.64 3.8839
14.30 3.8903
14.98 3.8970
15.70 3.9043
16.46 3.9119
17.24 3.9199
17.55 3.9232
17.89 3.9266
18.23 3.9301
....
.90 2.5105
374.63 2.4879
385.66 2.4655
397.02 2.4434
408.70 2.4216
420.70 2.4001
433.05 2.3788
445.75 2.3579
458.81 2.3372
472.23 2.3169
486.02 2.2968
500.18 2.2771
514.73 2.2577
529.69 2.2386
545.04 2.2198
560.80 2.2013
576.98 2.1831
593.59 2.1653
610.63 2.1477
628.11 2.1305
646.04 2.1136
664.43 2.0970
683.27 2.0807
702.58 2.0648
722.37 2.0492
742.64 2.0339
763.40 2.0190
784.66 2.0046
806.41 1.9910
828.65 1.9616
852.10 1.9598
874.97 1.9483
ant:/test $

HP-UX 11.11...
At least your code works here...

All the best
 

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
antspotlight(6x)						XScreenSaver manual						  antspotlight(6x)

NAME
antspotlight - ant spotlight screenhack SYNOPSIS
antspotlight [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay microseconds] [-fps] DESCRIPTION
The antspotlight code displays a single ant spotting out a screenshot. OPTIONS
antspotlight accepts the following options: -window Draw on a newly-created window. This is the default. -root Draw on the root window. -install Install a private colormap for the window. -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. -fps Display the current frame rate, CPU load, and polygon count. -delay microseconds Per-frame delay. ENVIRONMENT
DISPLAY to get the default host and display number. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. SEE ALSO
X(1), xscreensaver(1) xscreensaver-demo(1), xscreensaver-getimage(1) COPYRIGHT
Copyright (C) 2003 by Blair Tennessy. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Blair Tennessy <tennessb@unbc.ca>, 20-July-2003. X Version 11 5.15 (28-Sep-2011) antspotlight(6x)
All times are GMT -4. The time now is 07:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy