Search Results

Search: Posts Made By: ospreyeagle
48,947
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...
48,947
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)....
6,632
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

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