Search Results

Search: Posts Made By: wbshrk
7,798
Posted By wbshrk
echo "Filename.txt" |awk -F"\0", '{print NF}' ...
echo "Filename.txt" |awk -F"\0", '{print NF}'
this is waht the code looks like. just like the first post.
7,798
Posted By wbshrk
As I said befor I have used one of the line in my...
As I said befor I have used one of the line in my first post. I am reading in the raw converted file. After that I don't know what you mean by reading in the file. I am jsut typing in the file name.
7,798
Posted By wbshrk
Ok if \0 is null how do I get around that? These...
Ok if \0 is null how do I get around that? These are all over the record and need to be counted.
7,798
Posted By wbshrk
I am jut typing the code in on the command line...
I am jut typing the code in on the command line so it is read in at FILE listed above

od -c gives me:

\v 204 \0

for the fist set of characters.
7,798
Posted By wbshrk
No there is a ^k\204 at the start
No there is a ^k\204 at the start
7,798
Posted By wbshrk
Count line Length
I am trying to write a shell scrip that can give me the line length of a record that was in EBDIC and then converted to ASCII. Everything I try reports 1 yet the length is 2000+. I have tried
...
8,850
Posted By wbshrk
Does not work, just does nothing. ----------...
Does not work, just does nothing.

---------- Post updated at 09:54 AM ---------- Previous update was at 09:51 AM ----------



Get this message
awk: warning: escape sequence `\*' treated as...
8,850
Posted By wbshrk
Simple find and replace with AWK
I am trying to write a find and replace script with AWK and I can't seem to get it to work. I need it to find this exact string *P*: and replace the P with a T or just replcare the whole thing with...
Showing results 1 to 8 of 8

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