10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which needs to be replaced with tab delimited
AA§Orgin Name§Mapping based on prod_usa§§§§
I am trying below code
sed 's// /g' test.txt
AA|Orgin Name|Mapping based on prod_usa|||
BB|Date|2019-08-11 23:30:01|||| (6 Replies)
Discussion started by: rohit_shinez
2. UNIX for Dummies Questions & Answers
I have put one post yesterday and get answer. thanks for your help.
my question today is: what is ascii character for following non printable characters: ( we need filter these characters out in another process)
Old post link: ... (5 Replies)
Discussion started by: ken002
3. Shell Programming and Scripting
In my file, for few field I have to print the next ASCII character for every character.
In the below file, I have to do for the 2,3 and 5th fields.
2|klm|nop|6|qrs (2 Replies)
Discussion started by: machomaddy
4. UNIX for Advanced & Expert Users
I thought I would point this out. This has a lot of the non printing characters.
ASCII Character Set (7 Replies)
Discussion started by: cokedude
5. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
Hello, I need to do this in python but I'm just learning py and it's quite urgent.
I have a script I created and need an interactive python script to modify part of a line.
#ligand prep. Uses 'ind' prefix. The initial ligand must be ind.pdb. This
#generates ind.pdbqt.... (0 Replies)
Discussion started by: gav2251
7. UNIX for Dummies Questions & Answers
Is there a way to determine the ascii value of a character? For example, let's say a shell variable has the value 'A'. I would like it's ascii value (e.g. 65 in this case). I would like to do this from a script (preferably ksh). (12 Replies)
Discussion started by: sszd
8. Shell Programming and Scripting
I have a (ksh) varaible x. It contains the following (for example): N557788
I want to replace the "N" with a "-".
I've done this before but for the life of me I cannot remember how I did it.
mtw (2 Replies)
Discussion started by: mixxamike
9. Shell Programming and Scripting
I am working on a command that replaces some occurrences of quotation marks in file. The quotation mark cannot be the first or the last character in line and cannot be preceded or followed by a comma.
I am not an expert in regular expressions, but I managed to create the following... (2 Replies)
Discussion started by: piooooter
10. UNIX for Dummies Questions & Answers
I have a problem in replacing a value with another one in a file,the actual situation is i am writing an shell script,in that i want to cat a file and that replace the values in the file with a calculated values,which is in a variable...
babu (2 Replies)
Discussion started by: Babu