skip to Main Content

Ubuntu – How to sed the "\" in variable in bash

The following bash is used to replace the "$source_product" with "$source_product" + "linefeed" + "$target_product". Here is the bash script: source_product="$(LOCAL_DIR)/source \" target_product="$(LOCAL_DIR)/target \" echo "source_product: $source_product" echo "target_product: $target_product" echo "" echo "--- replace source with source+target ---" echo…

VIEW QUESTION

Error when installing ROS Noetic Ubuntu 22.04: 404 Not Found [IP: 140.211.166.134 80]

~$ sudo apt update Hit:1 http://vn.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://vn.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://vn.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:5 http://packages.ros.org/ros/ubuntu jammy InRelease Err:6 http://packages.ros.org/ros/ubuntu jammy Release 404 Not Found [IP: 140.211.166.134 80] Reading package lists... Done E: The…

VIEW QUESTION
Back To Top
Search