Search Results

Search: Posts Made By: dallas88
Forum: OS X (Apple) 09-03-2019
31,697
Posted By Neo
Like your question before, you can (or should be...
Like your question before, you can (or should be able to) get this information more easily from the system profiler (than using log files):

system_profiler

See summary man page here:
...
12,911
Posted By MadeInGermany
A further problem is the double use of $LOGFILE,...
A further problem is the double use of $LOGFILE, as rdrtx1 already mentioned.
exec 2>>${LOGFILE}
echo "[$LOGENTITY] $(date "+%Y.%m.%d %H:%M:%S") -> $1" >> $LOGFILE

The second write opens an...
12,911
Posted By RudiC
That's because you are using the unicode U+201C /...
That's because you are using the unicode U+201C / U+201D (Left / Right Double Quotation Mark) in lieu of the required ascii " (0x22, \o042). The "greater than" sign > thus is unquoted, and...
12,911
Posted By rdrtx1
echo "[$LOGENTITY] $(date "+%Y.%m.%d %H:%M:%S")...
echo "[$LOGENTITY] $(date "+%Y.%m.%d %H:%M:%S") -> $1" >> $LOGFILE
1,019
Posted By bakunin
These lines are completely bogus anyways, there...
These lines are completely bogus anyways, there is little sense in debugging them.

You are doing a
ls found*.tmp | while IFS= read -r entry; do
[...something...]
done

and my suspicion is...
32,691
Posted By agama
Use double bracket, and no quotes round wild...
Use double bracket, and no quotes round wild cards. The double brackets are interpreted by Bash (or Kshell if using ksh) and they both interpret the right hand side of the expression as a pattern:
...
Showing results 1 to 6 of 6

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