Asked by xeroxzerox
at 2024-11-28 00:21:50
Point:500 Replies:10 POST_ID:828837USER_ID:11544
Topic:
Linux;;
Hi expert,
Need a linux script for remove the all line which end with /.
accounts/user1/
accounts/user1/pending cn 28.11.11.xls
accounts/user1/DELIVERY/
accounts/user1/DELIVERY/APRIL-12/
accounts/user1/MARCH 12/
accounts/user1/REPORTS/
accounts/user2/WORK.xls
accounts/user2/CONTRACT.xls
It show output like this:
accounts/user1/pending cn 28.11.11.xls
accounts/user2/WORK.xls
accounts/user2/CONTRACT.xls
remove line which end with /
Thanks & Regards,
Xerox
Need a linux script for remove the all line which end with /.
accounts/user1/
accounts/user1/pending cn 28.11.11.xls
accounts/user1/DELIVERY/
accounts/user1/DELIVERY/APRIL-12/
accounts/user1/MARCH 12/
accounts/user1/REPORTS/
accounts/user2/WORK.xls
accounts/user2/CONTRACT.xls
It show output like this:
accounts/user1/pending cn 28.11.11.xls
accounts/user2/WORK.xls
accounts/user2/CONTRACT.xls
remove line which end with /
Thanks & Regards,
Xerox