Guest User

Untitled

a guest
Jun 25th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. cat file.txt | awk '{print $1*1000000}'
  2.  
  3. awk '{print $1*1000000}' file.txt
  4.  
  5. expr $var * 1000000
  6.  
  7. while read line; do
  8. if [ ! -z $line ]; then
  9. echo -e $line"t"$(expr $line * 1000000)
  10. fi
  11. done <inputfile.txt
  12.  
  13. 213
  14. 654
  15. 34
  16. 67
  17.  
  18. 213 213000000
  19. 654 654000000
  20. 34 34000000
  21. 67 67000000
Add Comment
Please, Sign In to add comment