|
Add new lines with a space in beginning
Hi
file1.txt contains
GigabitEthernet1/1
GigabitEthernet1/2
GigabitEthernet2/2
GigabitEthernet2/4
GigabitEthernet2/14
GigabitEthernet2/16
can anyone show me how to modify it as below. there is a space at the beginning of the next two lines . ie 'no shut' and 'switch..'
!
interface GigabitEthernet1/1
no shut
switchport mode access
!
GigabitEthernet1/2
no shut
switchport mode access
!
.
.
.
.
|