Search Results

Search: Posts Made By: dallas88
Forum: OS X (Apple) 09-03-2019
31,632
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:
...
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:
...
12,899
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,899
Posted By rdrtx1
echo "[$LOGENTITY] $(date "+%Y.%m.%d %H:%M:%S")...
echo "[$LOGENTITY] $(date "+%Y.%m.%d %H:%M:%S") -> $1" >> $LOGFILE
12,899
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...
1,017
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...
Showing results 1 to 6 of 6

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