Search Results

Search: Posts Made By: dendright
2,251
Posted By dendright
Thankyou all for your help!
Thankyou all for your help!
2,251
Posted By dendright
Thanks for you reply, What if I was able...
Thanks for you reply,

What if I was able to supply the start position and length of the field?


StartPos=45
Length=22

AAAAA AA BBBB CCCCCCC DDDDDD EEEE EEEEEE ...
2,251
Posted By dendright
Excellent! Thankyou. Is there a solution...
Excellent! Thankyou.

Is there a solution for a columnar structure rather than a delimitted structure?

input:

AAAAA AA BBBB CCCCCCC DDDDDD EEEE EEEEEE FFF FFFFF ...
2,251
Posted By dendright
Remove spaces from between words that are in a field
Hi all,

Is there a sed/awk cmd that will remove blank space from between words in a particular field, replacing with a single space?

Field containing 'E's in the example below:

Example...
Forum: AIX 02-24-2012
3,260
Posted By dendright
Return code 1 when echo to pipe
Hello,

Our AIX box has recently been upgraded to TL12 (oslevel -s = 5300-12-04-1119).

Now one of our ksh scripts is returning 1 when writing to a pipe, the command to write to the pipe is:
...
2,042
Posted By dendright
Thats great thanks for the lesson!
Thats great thanks for the lesson!
2,042
Posted By dendright
Many thanks for your replys! Both...
Many thanks for your replys!

Both techniques work great and fast! How could I change if the lookup file was delimitted? Have tried putting FS="|" before the command but that was just a shot in...
2,042
Posted By dendright
Hello, Thanks for you reply, sorry should...
Hello,

Thanks for you reply, sorry should of explained that the ___'s represent spaces where I'd like the ouptut to go! also the ouput seems to add a new line character after the looked up...
2,042
Posted By dendright
Performing lookup quickly
Hello,

Have been trying to develop a script that reads a string from an input file then looks up that string in a reference file to get a number, then inset that number back into the original...
1,029
Posted By dendright
Thanks radoulov works great and quickly.
Thanks radoulov works great and quickly.
1,029
Posted By dendright
Best method for inserting a field from a file into another file?
Hello,
Hoping someone can help!

I have a file (fileA) with a potentially different number of | delimited fields the file looks like:

fileA
A|B|C|D|E|F|G|
A|B|C|D|E|F|G|

This file could...
Showing results 1 to 11 of 11

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