SHARE
TWEET

Untitled

a guest May 26th, 2014 209 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. if [ $# = 1]
  4. then
  5.         grep -w 123 data.txt | sed "s/;//g" | while read i n w m; do
  6.         echo imie: $i
  7.         echo nazwisko: $n
  8.         echo wiek: $w
  9.         echo miejscowosc: $m
  10.         fi
  11.  
  12. else
  13.         echo Zla liczba parametrow skryptu!
  14. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top