You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
@@ -56,7 +56,7 @@ If you do not want to install, `googler` is standalone:
56
56
<pre>$ chmod +x googler
57
57
$ ./googler ...</pre>
58
58
59
-
3. google-cli is also available on <ahref="https://aur.archlinux.org/packages/google-cli/">AUR</a> and <ahref="http://fossies.org/linux/google-cli">Fossies</a>.
59
+
3.`google-cli` is also available on <ahref="https://aur.archlinux.org/packages/google-cli/">AUR</a> and <ahref="http://fossies.org/linux/google-cli">Fossies</a>.
60
60
61
61
# Usage
62
62
@@ -83,15 +83,15 @@ Keys
83
83
84
84
<b>Configuration file</b>
85
85
86
-
google-cli doesn't have any! This is to retain the speed of the utlity and avoid OS-specific differences. Users can enjoy the advantage of config files using aliases. There's no need to memorize options.
86
+
`google-cli` doesn't have any! This is to retain the speed of the utlity and avoid OS-specific differences. Users can enjoy the advantage of config files using aliases. There's no need to memorize options.
87
87
88
88
For example, the following alias set in `~/.bashrc`:
89
89
<pre>alias g='googler -n 7 -c ru -l ru'</pre>
90
90
fetches 7 results from the Google Russia server, with preference towards results in Russian.
91
91
92
92
The alias serves both the purposes of using config files:
93
93
- persistent settings: when the user invokes `g`, it expands to the preferred settings everytime.
94
-
- override settings: thanks to the way Python getopt() works, google-cli is written so that the settings in alias are completely overridden by any options passed from cli. So when the same user runs:
94
+
- override settings: thanks to the way Python getopt() works, `google-cli` is written so that the settings in alias are completely overridden by any options passed from cli. So when the same user runs:
95
95
<code>$ g -l de -c de -n 12 hello world</code>
96
96
12 results are returned from the Google Germany server, with preference towards results in German.
<pre>$ googler -C hello world < input > output</pre>
125
125
Note that `-C` is required to avoid printing control characters. `2>&1` would error as the console geometry is calculated from `stderr`.
126
-
12. <b>Piping</b> google-cli output:
126
+
12. <b>Piping</b> `google-cli` output:
127
127
<pre>$ googler -C hello world | tee output</pre>
128
128
129
129
# Developers
@@ -134,4 +134,4 @@ Modified (2015) by Arun Prakash Jana <[email protected]>
134
134
135
135
# Note
136
136
137
-
Initially I raised a pull request but I could see that the last change was made 7 years earlier. In addition, there is no GitHub activity from the original author (Henri Hakkinen: https://github.com/henux ) in past year. I have created this independent repo for the project with the name google-cli. Would love to push the changes back to original repo if the author contacts. I retained the original copyright information.
137
+
Initially I raised a pull request but I could see that the last change was made 7 years earlier. In addition, there is no GitHub activity from the original author (Henri Hakkinen: https://github.com/henux ) in past year. I have created this independent repo for the project with the name `google-cli`. Would love to push the changes back to original repo if the author contacts. I retained the original copyright information.
0 commit comments