我的命令
sed -e 's,kurtburak,JohnMarkovic,g' < values-override.yaml 屏幕显示了我所期望的
server:
configEnabled: true
config:
repositories: |
- type: git
url: https://github.com/JohnMarkovic/argocd.git
- name: argo-helm
type: helm
url: https://argoproj.github.io/argo-helm但
cat values-override.yaml 显示
server:
configEnabled: true
config:
repositories: |
- type: git
url: https://github.com/kurtburak/argocd.git
- name: argo-helm
type: helm
url: https://argoproj.github.io/argo-helm如果我换到
sed -i得到
sed: no input files为什么?
发布于 2022-07-19 09:00:03
sed -i -e 's,kurtburak,JohnMarkovic,g' values-override.yaml https://stackoverflow.com/questions/73034029
复制相似问题