Hi,
I attempted your solution and it did not work, or maybe I ran it wrong:
(/home/cap) $ cat ed.script
/ssl-qop-mgmt-default/a
default = DES-168
default = RC2-128
default = RC4-128
#default = ALL
.
+1d
wq
(/home/cap) $ cat tempfile
# this is a test file
# Enable/Disable SSL Quality of Protection management
ssl-qop-mgmt = no
# Legal cipher values for qop in the following stanzas are:
# NONE, ALL, NULL, DES-56, FIPS-DES-56, DES-168, FIPS-DES-168,
# RC2-40, RC2-128, RC4-40, RC4-56, RC4-128, AES-128, AES-256
#
# Notes:
# - NONE = No SSL connection allowed.
# default ssl qop
[ssl-qop-mgmt-default]
default = ALL
# Notes:
# - NONE = No FTP connection allowed.
(/home/cap) $ ed tempfile < ed.script
386
?
?
(/home/cap) $