Search Results

Search: Posts Made By: ppolianidis
1,675
Posted By Corona688
Hum... I suppose you can generate strings like...
Hum... I suppose you can generate strings like this:

#!/bin/bash
# ksh will also work

TABS=3
STR="longer-than-8"
((TABS -= (${#STR}/8) ))
[ "${TABS}" -lt 1 ] && TABS=1

while [ "$TABS"...
Showing results 1 to 1 of 1

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