~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to systab/ascii/display/ittasc.sh

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/sh
 
2
# @(#)ittasc.sh 19.1 (ESO-IPG) 02/25/03 14:30:08
 
3
 
4
# Bourne shell script  ittasc.sh
 
5
# to delete lines 1-3 and last line of ascii table file
 
6
# and to remove 1. field
 
7
 
8
sed '1,3d
 
9
     $d' $1 >temp.temp
 
10
 
11
# now we use awk to throw out the sequence field
 
12
 
13
awk '{ printf "                   %s\n", $2 }' temp.temp >temp.final
 
14
 
15
mv temp.final $2
 
16
rm temp.temp