Search Results

Search: Posts Made By: Binary Buddha
3,660
Posted By Chubler_XL
@Corona688 Think he wanted to strip leading...
@Corona688 Think he wanted to strip leading whitespace, and a bracketed string of up to 3 digits from end of field 2 (he was using _ as the sed delimiter).

This slight change should cover it:...
3,660
Posted By Corona688
You can't use single quotes inside double quotes....
You can't use single quotes inside double quotes. They don't nest -- it's treated as the end of the single quote.

Awk doesn't use single quotes anyway. Use double quotes.

You can't use...
3,660
Posted By Corona688
Yes, exactly, except you don't need to have the...
Yes, exactly, except you don't need to have the entire $LIST in a variable like that (a bad idea for the reasons given above). It'd be far more efficient than cramming it into a variable. Depending...
3,660
Posted By Corona688
See Useless Use of Backticks...
See Useless Use of Backticks (http://partmaps.org/era/unix/award.html). Never ever use variables/backticks for open-ended lists. It's generally pointless, likely to truncate your data, and splits...
Showing results 1 to 4 of 4

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