Hi,
I am new to perl and wonder if some can put me in the right direction to a simple script. This is what i want it to do:
1. take input from the user (eg open file (<STDIN>)
2. Ask the user what will the new file be named.
2. process the input with system command lynx --dump url > new_file_name (place the new file in /export/url directory)
This is how it done manually:
$cd /export/url
$lynx --dump url > new name # I use lynx for formatting
$vaila! there's a freshnew vi that can be view with vi.
Thanks,
Travis
I am new to perl and wonder if some can put me in the right direction to a simple script. This is what i want it to do:
1. take input from the user (eg open file (<STDIN>)
2. Ask the user what will the new file be named.
2. process the input with system command lynx --dump url > new_file_name (place the new file in /export/url directory)
This is how it done manually:
$cd /export/url
$lynx --dump url > new name # I use lynx for formatting
$vaila! there's a freshnew vi that can be view with vi.
Thanks,
Travis