Search Results

Search: Posts Made By: enrikS
5,046
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
Forum: What is on Your Mind? 02-23-2011
5,123
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...
4,152
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,152
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
...
Showing results 1 to 4 of 4

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