I have a perl line that looks like this and it works fine as is, but I need it to expand a bid further.
this code the way it is does this
10.8.3.0
10.8.4.0
10.8.6.0
10.8.9.0
10.8.10.0
10.8.12.0
10.8.13.0
10.8.14.0
But I somehow need it to branch further down.
10.8.0.0/16, ranging through 10.14.0.0/16
meaning the entire octet from 10.8.x.x 10.9.x.x 10.10.x.x 10.11.x.x 10.12.x.x 10.13.x.x 10.14.x.x
short Example
10.8.9.0
10.8.10.0
10.9.1.0
10.9.2.0
.....
10.11.249.0
10.11.249.64
10.11.254.128
...
10.12.0.0
10.13.0.0
10.14.0.0
and so on until 10.14.0.0
I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Hello All. I am very new to Linux and I am currently interning. I have been working on a project for a week and I have had no success. I have to convert bash shell into perl to decrypt and store files. Here is the code in Linux and Bash. Any help would be greatly appreciated.
$... (0 Replies)
I have a script like this:
while read abbrev; do
sed 's/'$(echo "$abbrev" | tr "" "")'/'"$abbrev"'/g' 'output_rgt.'$$ >'tmp.'$$
mv 'tmp.'$$ 'output_rgt.'$$
done<'dict.shortcuts.'$$
And I don't know how to leave "mv" out. ('dict.shortcuts.'$$ may be... (14 Replies)
So I have a weird question for my unix shell script. I wrote a shell script that does several things, but one of the things it does is call an executable. The executable then proceeds to start asking me questions, which it won't proceed until an input is entered. The answer to the questions is... (4 Replies)
I have a SED script that has worked for years, but broke today due to a new variable in a remote file. This is the part of the script that now won't work:
sed "s|/directory/overview.gif|/directory/img/overview2.gif|g" | \
The path /directory/overview.gif is no longer static as it had been... (2 Replies)
i use the following command to find files that were recently updated within the last hour:
perl -MFile::Find -le' find { wanted => sub { -f and 3600 / 86400 >= -M and print $File::Find::name; } }, shift' /var/app/mydata/
this command works well.
however, it seems to also search directories... (1 Reply)
Hi Guys -
I need help tweaking my tar.gz process. Currently, I compress all files in a directory, in which the parent directory is included in that.
I only want to compress the "*.txt" files in the follow process:
tar -zcvf ${_ESSB_TAR_PATH}/Essbase_Exports_${_DATETIMESTAMP}.tar.gz -C /... (3 Replies)