Search Results

Search: Posts Made By: Light_
2,623
Posted By Light_
Thanks. I'm not sure why it didn't work when I...
Thanks. I'm not sure why it didn't work when I first attempted.
2,623
Posted By Light_
Is it possible to include the brackets e.g [...]
Is it possible to include the brackets e.g [...]
2,623
Posted By Light_
character limit via awk
I'm using a command that outputs the total size of the files that I've specified.
I'd like to introduce a character limit that appends an ellipsis to the lines that go beyond the specified amount.
...
4,850
Posted By Light_
That works great. Thank you.
That works great. Thank you.
4,850
Posted By Light_
Limit the number of characters in a bash output
I have a script that outputs the weather on two lines.
If possibly I would like to set a character limit on them

Currently it outputs something like

but I would like to limit the lines so...
1,726
Posted By Light_
awk: division by zero input record number 1,...
awk: division by zero
input record number 1, file
source line number 1


---------- Post updated at 03:36 AM ---------- Previous update was at 03:32 AM ----------



That works. Odd...
1,726
Posted By Light_
Thanks for the quick response. I put your...
Thanks for the quick response. I put your formatted line in but at first it produced nothing in terminal. I then added echo to the start and it produced:

awk: illegal field $(), name...
1,726
Posted By Light_
Awk - Two equations?
I really know barely anything about awk and the like but I have a bit of code I need help with.

The bash script is meant to get my usage numbers from my ISP and it does so perfectly. However I...
Showing results 1 to 8 of 8

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