Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # change the backward slashes to forward
- cmd_str="echo 'cd c:\test\folderA\C\' | sed 's/\///g'"
- # execute the processed string, goto folder
- eval "cd $cmd_str"
- -bash: cd: echo: No such file or directory
- sed: -e expression #1, char 8: unterminated `s' command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement