10-25-2012
Thankss RudiC!!! Helped me a lot
It did work
Can I ask another question?
script code created something like 100 files
to create a list of all files what should I do?
the exact thing that I need is to create another .txt file that contains the string between 2nd and 3rd "/" and the number of iteration
for example :
1-jtagc 10
2-external_tdrs 15
and so on
Thanks again for your help
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Dear friends, following is the output of a script from which I want to remove spaces and new-line characters.
Example:-
Line1 abcdefghijklmnopqrstuvwxyz
Line2 mnopqrstuvwxyzabcdefghijkl
Line3 opqrstuvwxyzabcdefdefg
Here in above example, at every starting line there is a “tab” &... (4 Replies)
Discussion started by: anushree.a
4 Replies
3. Shell Programming and Scripting
Hi,
I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Red Hat
Dear All,
plz print the path of files which have the script of "who" & "w" commands.
thnx in advance. (6 Replies)
Discussion started by: saqlain.bashir
6 Replies
6. Web Development
Basically I want to shorten URLs on my html pasting site (pasteht.ml), by using "/~a1Pha" instead of "/paste/a1Pha". The ID is 5 numbers and letters, both cases.
For example:
/~idnum serves /paste/idnum.htm
/=idnum serves /paste/idnum.htm
/paste/idnum redirects to /~idnum (to update any old... (0 Replies)
Discussion started by: phillips1012
0 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT REDHAT
contrib
CONTRIB(1) mrtg CONTRIB(1)
NAME
contrib - Contribution Guidelines for MRTG
SYNOPSIS
If you have written an extension to mrtg or created a bug fix, please consider contributing it to the project. As I get quite a number of
contributions every week, here are a few guide lines which explain how to contribute so that I can use the contribution without too much
additional work.
TRANSLATIONS
MRTG messages have been translated to a number of languages. But there are still many which have not been covered yet. If you want to add
yours, go into the mrtg-2.9.17/translate directory, and follow the instructions given in the README file.
DOCUMENTATION
All documentation of mrtg is done with the perl POD system. If you want to learn about it, type
perldoc perlpod
and read the instructions. If you have bug fixes of additions to the existing documents, make sure you modify the POD files and not the
HTML or txt versions.
PATCHES
When you have created your modification or extension to mrtg and want to submit it to me, please create a patch for the files which you
have modified. Do not send entire files unless they are new.
To create a patch, get hold of a copy of GNU diff (Many Unix systems will have this installed already. In the NT world you might want to
get http://sources.redhat.com/cygwin/ to get all the nice GNU tools available.) and type
diff --unified --ignore-space-change file.orig file > simple.patch
or if you have modified several files do
diff --recursive --unified --ignore-space-change dir.orig/ dir/ >long.patch
DOCUMENTATION
I take documentation very seriously. When ever you create a new feature for mrtg which you want to get included in the official release
your patch must also contain modifications for the relevant pod file in the doc tree or for the documentation sections of cfgmaker and
indexmaker.
ADDRESS
Send your patches, translations and contributions to Tobias Oetiker <oetiker@ee.ethz.ch>
AUTHOR
Tobias Oetiker <oetiker@ee.ethz.ch>
3rd Berkeley Distribution 2.9.17 CONTRIB(1)