Search Results

Search: Posts Made By: fanny_tirtasari
16,653
Posted By fanny_tirtasari
Hi Pravin, Nope, your solution working well...
Hi Pravin,

Nope, your solution working well with minor adjustment... :)
16,653
Posted By fanny_tirtasari
Hi Anchal and scrutinizer, i did try the...
Hi Anchal and scrutinizer,

i did try the solution but come up with below error :
" syntax error at line 6: `i=$' unexpected" in my unix box
16,653
Posted By fanny_tirtasari
Hi Franklin, Still no luck :(. I used...
Hi Franklin,

Still no luck :(.

I used /usr/xpg4/bin/awk and the result is like following :
/usr/xpg4/bin/awk: syntax error Context is:
>>> 20100428193054 {of=sprintf("%02d.xml",++c)...
16,653
Posted By fanny_tirtasari
Hi Pravin, finally works fine. But i need...
Hi Pravin,

finally works fine.
But i need to change this :
if [ $i == 100 ] become if [ $i = 100 ]

thanks very much for your help and kindness :D

---------- Post updated at 07:04 PM...
16,653
Posted By fanny_tirtasari
Hi Franklin, No luck, still get the same...
Hi Franklin,

No luck, still get the same error for withouth colour part and the new one that you suggest. :(

---------- Post updated at 06:22 PM ---------- Previous update was at 06:18 PM...
16,653
Posted By fanny_tirtasari
I tried this one but got below error : file*:...
I tried this one but got below error :
file*: No such file or directory
renamef2.sh: syntax error at line 13: `(' unexpected
16,653
Posted By fanny_tirtasari
Hi Franklin, i copied paste your code but end up...
Hi Franklin, i copied paste your code but end up with "ksh: syntax error: `(' unexpected
".

Any advise?

---------- Post updated at 06:10 PM ---------- Previous update was at 06:01 PM...
16,653
Posted By fanny_tirtasari
Rename file using sed command
Greetings,

I am very new to the UNIX shell scripting and would like to learn. However, I am currently stuck on how to process the below sample :

Filename : DOCabcdef24387987ab90d.xml
Pattern...
Showing results 1 to 8 of 8

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