- Start tclsh;
- Enter puts [open "flash:filename" w+] {. Do not hit the ENTER key at the end of the line
- Copy-paste the file contents. The contents should not include unmatched curly right brackets (every curly right bracket has to be preceded by a matching curly left bracket).
- After the file contents have been pasted, enter } and press ENTER.
- End the tclsh session with tclquit.
--------------------------------
router#tclsh
router(tcl)#
router(tcl)#puts [open "flash:text-file-name" w+] {
+>
+> Enter file text here
+>
+> Or, paste text from another file inside the brackets
+>
+>}
router(tcl)#
router(tcl)#puts [open "flash:text-file-name" w+] {
+>
+> Enter file text here
+>
+> Or, paste text from another file inside the brackets
+>
+>}
No comments:
Post a Comment