Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irb(main):001:0> rel_dir='/'
- => "/"
- irb(main):002:0> available_space = %x|read -d '' -ra df_arr < <\(LC_ALL=C; df -P #{rel_dir}\)|
- sh: -c: line 0: syntax error near unexpected token `<'
- sh: -c: line 0: `read -d '' -ra df_arr < <(LC_ALL=C; df -P /)'
- => ""
Advertisement
Add Comment
Please, Sign In to add comment