I have a CDR file with binary code and code written on Perl to decode CDR file.
Now I use Mac, but next week I will start to use Linux. I've never used Linux before.
If now I use terminal to decode my files and I use this command:
cat 201301101536_00240349.cdr | ./huawei2text.pl >
~/Desktop/201301101536_00240349.txt &&
cat ~/Desktop/201301101536_00240349.txt| tr "," "\n" >
~/Desktop/out_201301101536_00240349.txt
Using this command I decode my file with Perl decoder, then write in txt file, then I change "," to "\n" - new line and save it in new txt file.
Now a question, Is it a same command in linux to do all these actions.
Thank you in advance
In short words: yes.
Unless you have two different perl versions on your mac and linux distribution, but I doubt that.