Search Results

Search: Posts Made By: bash_in_my_head
1,165
Posted By nezabudka
try to remove the option o -Pz or replace with...
try to remove the option o -Pz
or replace with w -Pzw
1,931
Posted By Scrutinizer
Try: cat << EOF > new_file nodegroups: ...
Try:
cat << EOF > new_file
nodegroups:
check-hosts: L@$(cat input_file)
EOF

or

{
printf "nodegroups:\n check-hosts: L@"
cat input_file
} > new_file
1,409
Posted By rdrtx1
Last line should work but with a minor...
Last line should work but with a minor modification:

sed '/Searching Checks. Based on search criteria/,/name: Value : Carbon_CPU/d' test1
5,640
Posted By Don Cragun
You say you want to remove useless repeated data,...
You say you want to remove useless repeated data, but the code you are using replaces every copy of the data (not just repeated data) with a <space> character (even if the data you want to "remove"...
1,176
Posted By Scott
Use double quotes to preserve whitespace: ...
Use double quotes to preserve whitespace:

echo "$line"
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy