Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: ospreyeagle
Posted By ospreyeagle
Solution: Remove last character from a string
Thanks for taking time to reply and seeing this post.

Following regexps worked best

#removes the last character from all the words of a string
(s/\w\b/ /) )

# replace last number (if it...
Posted By ospreyeagle
Perl RegExp to remove last character from strings
I use SAS (a statistical software) and have to remove last character or the last 1/2 numbers that appear after characters from the string using Perl Regular Expression (which is recognized by SAS)....
Posted By ospreyeagle
unix question: user supplied input for 'alias'
I have a program to scan the log files and I want to pipe the output to 'less'.

I want to create an alias such that following are equivalent

scanlog chunky.lst = /udd/n2man/utils/scanlog...
Showing results 1 to 3 of 3


Featured Tech Videos

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