Search Results

Search: Posts Made By: arunk2000
1,239
Posted By arunk2000
thankyou
thankyou ver much Scrutinizer/ctsgnb :-) It will be very useful for me.
1,239
Posted By arunk2000
how to replace a pattern
1) I have strings like

arun1
arunkumar1
abcd1

I want to replace them to

arun2
arunkumar2
abcd2

I tried using sed, it dint work
sed 's/a.*1/a.*2/g'

I'm using AIX machine.
...
4
17,344
Posted By arunk2000
The problem is 100% due to the permission. First...
The problem is 100% due to the permission. First the script would have run in some other user id, so that when u tried to execute the script the touch command couldn't able to change the time stamp...
4,014
Posted By arunk2000
if you want to change all the file name as u...
if you want to change all the file name as u required then this might help u

ls | while read file
do
file_req=`echo ${file} | sed 's/^.\{n\}//' `
mv ${file} ${file_req}
done
:b:
2,094
Posted By arunk2000
echo 123456 789 ABC DEF | sed "s/ //g" This...
echo 123456 789 ABC DEF | sed "s/ //g"

This might help u!
Showing results 1 to 5 of 5

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