Search Results

Search: Posts Made By: sea
8,663
Posted By sea
And that is why I dont understand why $1 == Name...
And that is why I dont understand why $1 == Name removes the "Name" line and shows the remaining values...
Because $1 is not empty -> it contains 'Name'... (and then the names...)

Cant wrap my...
8,663
Posted By sea
I slightly modified your code... Was not my...
I slightly modified your code...
Was not my first attempt, just one of the... lets do this variant with the current variable... moments...

I have no idea WHY this works, because I wanted to...
8,663
Posted By sea
Dont do BOLD for code. Do CODE for code. ...
Dont do BOLD for code.
Do CODE for code.

And proper writing helps.... tSalary....
Or use grep -i ...

And btw...
Your code would not show the 'header' on occasion, but always...
Unless your...
8,663
Posted By sea
Something like this? [~/tmp] 0 $ awk '$4 <=...
Something like this?
[~/tmp] 0 $ awk '$4 <= 7000 {print}' "file.txt" | grep -v tSalary | sort -k 4

Thomas Manager Sales 5000
Jason Developer Technology 5500
Vicky DBA Technology 6000...
Showing results 1 to 4 of 4

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