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

« back to all changes in this revision

Viewing changes to .pc/fix_shellscripts.patch/systab/ascii/display/lutasc.sh

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-sl34juxohmn4aty4
Tags: 13.09pl1.2+dfsg-1
Initial release. (Closes: #740702)

Show diffs side-by-side

added added

removed removed

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