Search Results

Search: Posts Made By: Bruble
1,467
Posted By Bruble
Thanks Subbeh, I will need to try as sometimes...
Thanks Subbeh,
I will need to try as sometimes I need to do fewer than 9 iterations and other times the ver is a character rather than a number but if I can get my head around how to control it, it...
1,467
Posted By Bruble
Hi Subbeh, I am trying to change while test...
Hi Subbeh,
I am trying to change
while test $count -le ${CURRENTRUNSCTRL}
do
if [ "$count" = 1 ]
then mj7777_ver='1' start_mj7777_iteration
fi
if...
1,467
Posted By Bruble
Hi Subbeh, Bash shell I believe
Hi Subbeh,
Bash shell I believe
1,467
Posted By Bruble
Substitution within string command
I have the following code:
strfuture=abcdefghi
ver=${strfuture:${count}:1}
mj7777_ver=${ver} start_mj7777_iteration
let count=count+1


When it is executed I get bad...
1,136
Posted By Bruble
Thank you pamu, that resolved the issue, thanks
Thank you pamu, that resolved the issue, thanks
1,136
Posted By Bruble
Remove duplicates from two files using n characters for comparison
Hi All, I have two files
file1

123456CRTGHG
125437CRNDGF
126537CRDDGF


file2

123456CRTZHC
124567CJHGHG
125987CJHGDF


I need to compare the two files and any records in file 1 and...
1,537
Posted By Bruble
Thanks to you both. This resolved the issue and I...
Thanks to you both. This resolved the issue and I understand what the error means now.
Thanks.
1,537
Posted By Bruble
[SOLVED] Field $() is incorrect 'what does it mean'
I am creating (or trying to) an awk script to retrieve various data from an input file and output the data in a different format. I think it is self explanatory what I am attempting but I getting the...
Forum: Programming 12-15-2011
3,358
Posted By Bruble
nothing else changed ...
nothing else changed

(3,audev)/usr4/i/xj410235/bin $ cd /usr1/au/scripts
(3,audev)/usr1/au/scripts $ ./xjr1405_start &
[1] 29330
(3,audev)/usr1/au/scripts $ cd /tmp
[1] + Stopped (tty output)...
Forum: Programming 12-15-2011
3,358
Posted By Bruble
When started in bg the log file is not created...
When started in bg the log file is not created database not accessed
When brought into fg then the program runs exactly as expected
Forum: Programming 12-09-2011
3,358
Posted By Bruble
I will try that on Monday as I am off home now...
I will try that on Monday as I am off home now thanks for the reply
Forum: Programming 12-09-2011
3,358
Posted By Bruble
different behaviour in fg and bg
fg = foreground bg = background
I have a cobol program that I start with a very simple script.
The script is not at fault as it has not changed and the program worked in fg and bg before.
I have...
3,916
Posted By Bruble
today should give 20111012 and does on HP-UX
today should give 20111012 and does on HP-UX
3,916
Posted By Bruble
This is a sample of the record - line is shown in...
This is a sample of the record - line is shown in 80 byte segments but is actually a continuous stream of 900ish characters all characters are text.

SYD WW20049120110928SAU SYD010000045001 ...
3,916
Posted By Bruble
thanks. The script has had to be changed due to...
thanks.
The script has had to be changed due to the fact that the grep or cut command required the data to be passed in a different way otherwise the original 'line' or 'details' was altered.

...
3,916
Posted By Bruble
reading a file extracting information writing to a file
Hi
I am trying to extract information out of a file but keep getting grep cant open errors
the code is below:


#bash
#extract orders with blank address details
#
# obtain the current date...
3,005
Posted By Bruble
* | |TABLE. ...
* | |TABLE. |V02.05 *
* 02022010 | JHH |R10.2 SR8644 DYNAMICALLY SET |V02.06 *
* | ...
3,005
Posted By Bruble
awk pattern match and search in single statement
Hi All,
I am trying to alter all lines between EXEC SQL and END-EXEC that have an INCLUDE in them.

The following code
search="INCLUDE "
cp -f ${WORK}/$file.in ${WORK}/$file.wrk2
for item...
2,791
Posted By Bruble
my final line command
The final result was:

awk '/DELIM1/,/DELIM2/ {sub((substr($0,7,1)),"\*");print;next;} {print;}' file.in > file.out

This places an asterix in position 7,

Thanks the help is appreciated.
2,791
Posted By Bruble
commenting out lines between two delimiters
Hi All,
I am struggling to get my head around the following issue.

I am having to comment out lines between two delimiters by placing an asterix in position 7 but retain all lines in the file...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 04:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy