The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
replace last / by |
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
replace last / by |
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
01-15-2008
naikaa
Registered User
Join Date: Jan 2008
Posts: 2
replace last / by |
Hi:
I want to write a Kshell script which will replace last / by |.
eg: /home/apps/test/document should be replaced as /home/apps/test|document.
The length of the string is not constant.
Thanks,
Ash
naikaa
View Public Profile
Find all posts by naikaa
Find naikaa's past nominations received
Find naikaa's present nominations given