Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  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`"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement