10 More Discussions You Might Find Interesting
I'm creating a CGI which allow to display graph from some data.
The datas looks like :
2020-01-14-00-00,384.00,350.00... (1 Reply)
Discussion started by: Tim2424
I am working one one python script in version 3.x and 2.6. Need your support to complete it
Basically for both commands i have telnet to device and run command and then receiving input File 1 and File 2
I have two commands, need to grep data and output in csv file.
Next script/code... (0 Replies)
Discussion started by: as7951
A python beginner question on passing filename thru argument. My code is:
import sys, getopt
opts, args = getopt.getopt(sys.argv,"hi:o:ce", )
print("Usage: %s... (6 Replies)
Discussion started by: yifangt
4. Shell Programming and Scripting
In the below python code..
Could anyone please let me know why the name(variable) is getting modified if I update the kargs variable in the definition,
def f( kargs):
print ("In function :",kargs)
print("Outside function :",name)
... (5 Replies)
Discussion started by: scriptscript
5. Shell Programming and Scripting
If ($argv == “-debug”) then
Echo “in loop”
But this is not working. If I modify this code and remove “-“, then it works.
Similarly I am getting problem using grep command also
Grep “-debug” Filename
Can someone please help me on how to resolve these... (1 Reply)
Discussion started by: sarbjit
6. Shell Programming and Scripting
Hello dear community!
I've recently written a BASH function for auto completion of options. It works like following: if a user types a command and then an argument to this command which starts with "^-" and then presses TAB, then 'user_command --help (or -h)' is invoked and possible options are... (0 Replies)
Discussion started by: sidorenko
7. UNIX for Dummies Questions & Answers
Previously, if I type !cp <tab> the last cp command would come automatically. However, something has changed recently with my system.
I am unable to get a autocomplete !cp <tab> now. Where can I look for the changes ? Any idea what might have caused it ? (1 Reply)
Discussion started by: coolket
8. Shell Programming and Scripting
Can someone please help me with this SHELL script?
I need to create a script that gets a positive number n as an argument. The script must calculate the factorial of its argument. In other words, it must calculate n!=1x2x3x...xn. Note that 0!=1.
Here is a start but I have no clue how to... (3 Replies)
Discussion started by: I-1
My client`s system is an AIX 4.2 and using the Kron shell. I was just wondering if it is possible to have the prompt autocompletion enabled on it without changing shell version.
By autocompletion, I mean to automatically complete the filenames or directories we type in using the Tab key. (2 Replies)
Discussion started by: Browser_ice
10. UNIX for Dummies Questions & Answers
Say, I want to move into dir library from current dir, on prompt if I type in
if it is followed by pressing 'Tab' key then complete dir name appears.
Would there anyone know, how we can make into effect this path autocompletion?
I am using 'ksh'. (5 Replies)
Discussion started by: videsh77