Search Results

Search: Posts Made By: enrikS
4,261
Posted By RudiC
Not sure I understand correctly, but if you want...
Not sure I understand correctly, but if you want to remove all elements from the array that match / contain $3, try (with your new sample code):

awk '
function RMDUP(P1, T, TX, DL) {for (n =...
4,261
Posted By RudiC
Howsoever, how far would awk ' function...
Howsoever, how far would
awk '
function RMDUP(P1, T, TX, DL) {for (n = split (P1, TMP, ","); n; n--) T[TMP[n]]
for (t in T) {TX = TX DL t
...
Forum: What is on Your Mind? 02-23-2011
5,467
Posted By zaxxon
About 10 years ago I was in a similar situation...
About 10 years ago I was in a similar situation and age like you are, had 95% only worked with Windows servers and clients and had just made my MCSE. I switched my job to a AIX and Linux environment...
5,116
Posted By fpmurphy
Rather than using the cut utility, the shell...
Rather than using the cut utility, the shell builtin read could be used i.e.

for file in *; do
read -r -n 3 ext < ${file}
mv ${file} ${file}_${ext}
done
Showing results 1 to 4 of 4

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