How to use an environment variable inside a quoted string in Bash

前端 未结 5 1192
温柔的废话
温柔的废话 2020-12-13 03:17

I\'ve tried various forms of the following in a bash script:

#!/bin/bash
svn diff $@ --diff-cmd /usr/bin/diff -x \"-y -w -p -W $COLUMNS\"

B

5条回答
提交回复
热议问题