Advertisement
Guest User

Untitled

a guest
Aug 29th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/sh -x
  2. cat $1 |
  3. while read a
  4. do
  5.  
  6. testsak = `echo $a | cut -f 1 -d :`; <---**
  7.  
  8. echo $testsak;
  9.  
  10. done
  11.  
  12. + read a
  13. + cut -f+ echo 1 -d :davda103:David:Davidsson:800104-1234:TNCCC_1:TDDB46
  14. TDDB80:
  15. + testsak = davda103
  16. scriptTest.sh: testsak: Det går inte att hitta
  17. + echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement