#!/usr/bin/perl -wT use strict; while(<DATA>) { tr/\\\@/@/d; print if /USE/.../USE/ and !/USE/; } __DATA__ I like jellybeans me too begin USE information options [ --upload | --download | --commit ] [ --filename <filename> ] [ --list <list> ] [ --host <hostname> ] [ --server <ip/fqdn/hostname> ] [ --string <snmp community> ] [ --path <path within tftproot> ] [ --regex <regular expression> ] [ --version ] [ --verbose-help ] [ --help ] end USE information Still like jellybeans me too =output options [ --upload | --download | --commit ] [ --filename <filename> ] [ --list <list> ] [ --host <hostname> ] [ --server <ip/fqdn/hostname> ] [ --string <snmp community> ] [ --path <path within tftproot> ] [ --regex <regular expression> ] [ --version ] [ --verbose-help ] [ --help ]
-Blake
In reply to Re: printing the current script will not show
by blakem
in thread printing the current script will not show
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |