Search Results

Search: Posts Made By: busyboy
1,264
Posted By RudiC
With your recent bash, you have "Arithmetic...
With your recent bash, you have "Arithmetic Expansion" at your finger tips. You don't need the ´ls´ "command substitution". Try
for FN in *; do FL="$FL $FN"; if ! ((++CNT%10)); then echo "executing...
1,484
Posted By RudiC
The split statement creates an array whose...
The split statement creates an array whose elements have the values of the substrings (separated by the FS) and consecutive indices starting from 1.
The individual assignments each create an...
825
Posted By RudiC
Running the date command for every single data...
Running the date command for every single data line in your log file definitively is an expensive method to determine the seconds for an arithmetic operation, but it works. The next step - esp. if we...
11,700
Posted By Yoda
awk -F'"' '{ for(i=1; i<=NF; i++) { if($i ~...
awk -F'"' '{ for(i=1; i<=NF; i++) { if($i ~ /^http/) print $i } } ' bookmarks.json
11,700
Posted By hanson44
Could this work: grep -o 'http:[^"]*' file
Could this work:
grep -o 'http:[^"]*' file
Showing results 1 to 5 of 5

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