Search Results

Search: Posts Made By: Krishanu Saha
19,144
Posted By Krishanu Saha
Hello friend..I need your valuable help again. As...
Hello friend..I need your valuable help again. As per your suggestion, I've implemented the following command in my KSH script to remove all characters not listed in the command -

nawk...
3,927
Posted By Krishanu Saha
Thanks a lot Yoda....the awk code is working fine...
Thanks a lot Yoda....the awk code is working fine and showing me the exact result what I'm expecting. Thanks a lot.
3,927
Posted By Krishanu Saha
Hello All....1 quick question. If the file...
Hello All....1 quick question. If the file contains the character list in following way then the suggested awk command is working fine. Now if there is no space bewteen 2 characters in single line...
3,927
Posted By Krishanu Saha
Hello All....the nawk is now working for me also....
Hello All....the nawk is now working for me also. Thank you guys.

But do not know why the typeset option is not working for me. I have been trying with all options even tried with declare option. ...
3,927
Posted By Krishanu Saha
somehow the "typeset -A ARR" is not working in...
somehow the "typeset -A ARR" is not working in script, every time it is displaying the error message "typeset bad option(s)". Can anyone please help to find out the distinct character list?
...
3,927
Posted By Krishanu Saha
Thanks Yoda. I've tried both options but did not...
Thanks Yoda. I've tried both options but did not get the expected result.

When I'm using the 1st option within a function, it is showing the error "typeset bad option" and when I'm using the 2nd...
3,927
Posted By Krishanu Saha
This is not a homework. Actually I'm working in...
This is not a homework. Actually I'm working in one project where I have one similar kind of file which is having list of special characters (removed from xml file) exactly in same format. Now I need...
3,927
Posted By Krishanu Saha
Finding distinct characters from flat file
Hi....I need one help....

I'm having a files which is having the data as follows...
a
b
c c
d d d
e
f

Now I need to find out distinct characters from this file and the output should be as...
19,144
Posted By Krishanu Saha
Thank you....This is working. Let me do some...
Thank you....This is working. Let me do some testing.

---------- Post updated at 08:30 PM ---------- Previous update was at 04:36 PM ----------

Another help I need.....Now I need to keep A-Z,...
19,144
Posted By Krishanu Saha
Thanks. But its no working. I have tried - ...
Thanks. But its no working.

I have tried -
awk '{gsub(/[a-zA-Z0-9_,()&;{}%+<>/:=. "-\$*]/,x)}NF' jhfnfull.xml > pqr.txt
but got the following error messages -
awk: syntax error near line 1...
19,144
Posted By Krishanu Saha
OK. Let me explain again. I have a xml file. I...
OK. Let me explain again. I have a xml file. I need to find out the special characters from that xml file except A-Z, a-z, 0-9 and the following list of symbols -

_ (underscore) , (comma) ()...
19,144
Posted By Krishanu Saha
Find out special characters from xml file
Hi....I have a xml file which is having lots of special characters which I need to find out and put the distinct list of those into a text file. The list of special characters is not specific, it can...
3,188
Posted By Krishanu Saha
Comparing 2 xml files and print the differences only in output
Hi....I'm having 2 xml files, one is having some special characters and another is a clean xml file does not have any special characters. Now I need one audit kind of file which will show me only...
Showing results 1 to 13 of 13

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