Search Results

Search: Posts Made By: soueric
Forum: Solaris 05-03-2011
8,303
Posted By soueric
Hi rdcwayx. Thanks for you answer, my problem...
Hi rdcwayx.
Thanks for you answer, my problem was solved.

However, your command does not work as it is still returning the entire path I wanted to get rid:

/........./filename.log
So first...
Forum: Solaris 05-02-2011
8,303
Posted By soueric
Hi itkamaraj. Thanks, it's working well. I...
Hi itkamaraj.
Thanks, it's working well.
I have actually customized it into:


for file in $home/$input/*.txt do basename $file | sed 's/.txt//' done

Actually, I will reuse this base...
Forum: Solaris 05-02-2011
8,303
Posted By soueric
Get file name in shell scrip loop: bad substitution
Hi guys. Good day, morning, afternoon or night, depending on where you live.
I have a script shell in which I am looping on files (absolute path) see code section above.
I always have an error: ...
Showing results 1 to 3 of 3

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