SHARE
TWEET

Untitled

a guest Jun 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. #----------------------------------------------\
  4. #Christopher Nulph | Assignment 2B | Oct 6 2010|
  5. #----------------------------------------------|
  6. #This script finds cities matching the user    |
  7. #specified string, then prints the name of each|
  8. #state it is found in. Uses the script from 2A.|
  9. #----------------------------------------------/
  10.  
  11. h=/homes/crn5346/public_html/data/places.txt
  12. place="$@"
  13. ./lookup "`grep "$place" $h|cut -c 77-79`"
RAW Paste Data
Top