10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
My requirement is to remove any invisible and special characters from the file like control M(carriage return) and alt numerics and it should not replace @#!$%
Please help on this.
Rakesh (1 Reply)
Discussion started by: rakeshp
2. Shell Programming and Scripting
I have a file having following content.
<sip:email@example.com:51024... (2 Replies)
Discussion started by: SunilB2011
3. Shell Programming and Scripting
I'm trying to figure out which tool is best for recursively renaming and files or folders using the characters \/*?”<>| in their name. I've tried many examples that use Bash, Python and Perl, but I'm not much of a programmer I seem to have hit a roadblock.
Does anyone have any... (15 Replies)
Discussion started by: prometheon123
4. Shell Programming and Scripting
I have a perl find program that will find all files of window application stored on unix disks.
Ofcourse these files contain all the weird characters windows allows, but on *nix pukes out all kinds of unwanted effects when processing these.
Is their a utility that will escape all these... (3 Replies)
Discussion started by: karelb
5. Shell Programming and Scripting
I am creating a script to do a find and replace single/multiple lines in a file with any number of lines.
I have written a logic in a script that reads a reference file say "findrep" and populates two variables $FIND and $REPLACE
print $FIND gives
Hi How r $u
Note:... (0 Replies)
Discussion started by: r_sarnayak
6. Shell Programming and Scripting
Do any kind souls encounter have the same script as mentioned here.
Find and compare filenames in different mount point and remove duplicates.
Thanks a million!!!
wanna13e (7 Replies)
Discussion started by: wanna13e
7. Shell Programming and Scripting
I want to create a temp file which is named based on a search string. The search string may contain spaces or characters that aren't supposed to be used in filenames so I want to strip those out.
My thought was to use 'tr' with but the result is the opposite of what I want:
$ echo "test... (5 Replies)
Discussion started by: mglenney
8. Shell Programming and Scripting
Am creating files and doing copy,compare and deletion.
As i do not want to mention the filepath everywhere, i store the filepaths in variables.
echo "This is my... (2 Replies)
Discussion started by: amio
9. Shell Programming and Scripting
I have many files in a folder, and even more in the subfolders. I need a script that finds and removes certain characters (them being /n in this one) in the files in the folder and it's subfolders.
So, could someone write me a script that works in Linux, does this:
Searchs for "/n" in... (5 Replies)
Discussion started by: Zerby
10. Shell Programming and Scripting
I have a requirement to search a directory, which contains any number of other directories for file names that contain special characters.
... (8 Replies)
Discussion started by: jerardfjay