10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which has hundred of records with fixed number of fields. In each record there is set of 8 characters which represent the duration of that activity. I want to sum up the duration present in all the records for a report. The problem is the duration changes per record so I... (5 Replies)
Discussion started by: danish0909
2. Shell Programming and Scripting
I have this file with content
ale,4 ,ale,2 ,ale,1 ,ale,2
ale,1 ,ale,7 ,ale,7 ,ale,13
ale,6 ,ale,1 ,ale,1 ,ale,1
ale,1 ,ale,1 ,ale,37 ,ale,1
ale,1 ,ale,1 ,ale,2 ,ale,37
ale,77 ,ale,1 ,ale,53 ,ale,3
ale,5 ,ale,1 ,ale,2 ,ale,40
ale,1 ,ale,1 ,ale,44 ,ale,1... (7 Replies)
Discussion started by: nikhil jain
3. Red Hat
Hereby wish to have your advise for below:
Main concept is
I intend to get current directory of my script file.
This script file will be copied to /etc/init.d.
A string in this copy will be replaced with current directory value.
Below is original script file:
... (6 Replies)
Discussion started by: cielle
4. Shell Programming and Scripting
I am trying to do the following thing
Above command substitutes date for and in turn runs the date command and i am getting the todays date value.
I am trying to do the same thing as following, but facing some problems,
unique_host_pro="sed -e ' /#/d'... (3 Replies)
Discussion started by: gvinayagam
5. Shell Programming and Scripting
I have basic knowledge of Unix script and her I am trying to process variable length and variable format CSV file.
The file length will depend on the numbers of Earnings/Deductions/Direct Deposits.
The format will depend on whether it is Earnings/Deductions or Direct Deposits... (2 Replies)
Discussion started by: chechun
6. Shell Programming and Scripting
I have a variable say var1 (output from somewhere, which I can't change)which store something like this:
how can I make the variable $name, $age, $address and $password contain the info?
I mean do this in a... (1 Reply)
Discussion started by: freddy1228
7. Shell Programming and Scripting
I want to instert Category:XXXXX into the 2. line
something like this should work, but I have somewhere the wrong sytanx. something with the linebreak goes wrong:
Titel Blahh Blahh abllk sdhsd sjdhf
Blahh Blah Blahh
Should look like... (2 Replies)
Discussion started by: lowmaster
I want to make a bff installp package which should be AIX5.2 compatible, but i don't know how to mark a file as volatile within the mkinstallp's template file. Anyone could help pls? (1 Reply)
Discussion started by: acerlinux
9. Shell Programming and Scripting
I have my 5th column like this
5 days 12 hrs 13 minutes and 14 seconds
I need to split this column into above meaning format. But all other columns are separated by single while space.
I am using awk command to print other... (8 Replies)
Discussion started by: yorker
plz explain about volatile keyword in C language
bye... (1 Reply)
Discussion started by: venkat_t