Advertisement
D3ad

Untitled

Mar 24th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. echo "$LINE" # vytiskne: "23    20150324    /home/d3ad/Documents/skola/2015_zima/ios/proj1/Quite an impressive folder"
  2.  
  3. FILE=$(echo "${LINE}" | awk '{$1=$2=""; print $0}')
  4. COUNT=$(echo "${LINE}" | awk '{print $1}')
  5. FILE=${FILE%%*/}
  6. echo "$FILE"
  7.  
  8. vytiskne: "  /home/d3ad/Documents/skola/2015_zima/ios/proj1/Quite an impressive folder"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement