Search Results

Search: Posts Made By: High-T
4,944
Posted By Don Cragun
Yes you can put a time interval between the awk...
Yes you can put a time interval between the awk script and the mv command. (Look at the man page for sleep.) Doing so will make your shell script run longer, but will not make any difference in the...
4,813
Posted By Don Cragun
RudiC, Note that High-T did get an infraction...
RudiC,
Note that High-T did get an infraction for using URGENT and double-posting in another thread. I decided that one infraction was required, but didn't think two infractions were necessary at...
2,455
Posted By Don Cragun
A normalized version of the original script...
A normalized version of the original script presented in post #1 in this thread with the corrections needed is:
awk '
BEGIN { OFS="\t"
out = "File3.txt"
}
NR == FNR {
if(NF)...
1,874
Posted By RudiC
You can't change the shell's expansion of the...
You can't change the shell's expansion of the input stream (= all files including paths being parameters to awk) from within the awk script: expansion is done before awk is run, and awk does not...
1,874
Posted By Don Cragun
Either of the following should work: Change: ...
Either of the following should work:
Change:
awk '
BEGIN {
OFS="\t"
out = "File3.txt"
path-input = "/DR/m/"}to:

path_input="/DR/m/"
awk '
BEGIN {
OFS="\t"
out =...
Showing results 1 to 5 of 5

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