mini-guide, obtain (shell) code (etc) from websites

jb_fvwm2

Daemon

Reaction score: 181
Messages: 1,695

I needed an "expect" script I found online.
As usual, saving the web page made the script buried in tags.
or unavail

1... view source
2... save
3... consult sed-1-line guides for extracting line# -to - Line#
4... modify to use.

Sorry no time to be more verbose.
 
OP
OP
J

jb_fvwm2

Daemon

Reaction score: 181
Messages: 1,695

Noted, written down
to try sometime... the OP method is for when I am already at the webpage.

sed -n '231,264p' default.htm | tee -a expect.fil
is the sed command I used (I had saved "source" view as
expect.fil"
 
Top