Search Results

Search: Posts Made By: RudiC
17,765
Posted By RudiC
That could even be condensed to $...
That could even be condensed to



$ TDIR="path/to/data"
$ awk '
{NFN = $0 = FILENAME ":" $0
sub (/\..*$/, "_file.txt", NFN)
sub (/^[^\.]*\./, "")
sub...
17,765
Posted By RudiC
How about getting your bash syntax right, first?...
How about getting your bash syntax right, first? What you post can't possibly run...

--- Post updated at 18:33 ---

OK, trying to guess what you're after, and making some assumptions, how about...
Showing results 1 to 2 of 2

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