2019-10-03 15:37:48 +02:00
|
|
|
# to-url
|
|
|
|
|
|
|
|
Converts table data into url-formatted text.
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> shells
|
|
|
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
# │ │ name │ path
|
|
|
|
───┼───┼────────────┼────────────────────────
|
|
|
|
0 │ X │ filesystem │ /home/shaurya
|
|
|
|
1 │ │ filesystem │ /home/shaurya/Pictures
|
|
|
|
2 │ │ filesystem │ /home/shaurya/Desktop
|
|
|
|
━━━┷━━━┷━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
> shells | to-url
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
# │ value
|
|
|
|
───┼───────────────────────────────────────────────────────
|
|
|
|
0 │ +=X&name=filesystem&path=%2Fhome%2Fshaurya
|
|
|
|
1 │ +=+&name=filesystem&path=%2Fhome%2Fshaurya%2FPictures
|
|
|
|
2 │ +=+&name=filesystem&path=%2Fhome%2Fshaurya%2FDesktop
|
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
```
|
2019-10-04 03:10:16 +02:00
|
|
|
|
|
|
|
```shell
|
|
|
|
> open sample.url
|
|
|
|
━━━━━━━━━━┯━━━━━━━━┯━━━━━━┯━━━━━━━━
|
|
|
|
bread │ cheese │ meat │ fat
|
|
|
|
──────────┼────────┼──────┼────────
|
|
|
|
baguette │ comté │ ham │ butter
|
|
|
|
━━━━━━━━━━┷━━━━━━━━┷━━━━━━┷━━━━━━━━
|
|
|
|
> open sample.url | to-url
|
|
|
|
bread=baguette&cheese=comt%C3%A9&meat=ham&fat=butter
|
|
|
|
```
|