Having problems create a function to convert julian date to a date format of YYYYMMDD. Not sure If im doing this right.
I getting an error code
./j2g[3]: 0403-057 Syntax error at line 6 : `jd=$1' is not expected.
#!/bin/ksh
+2
+3 function juliandate_to_gregdate{
+4
+5...
Convert ASCII to EBCDIC is this possible with shell script
See I have to develop a script that converts a file from ascii to ebcdic, do more functions to the file, then send it to the Host. But i'm not sure how to convert the file to ebcdic.
Hello, I need help with white spaces. Im try to search for the input listed below called Database name. Im very new to all this. Also any clues on how to search for the first line then get the Node name called QIBS34.
code -
if (/\bDatabase name\s=\s$DB_Name/)
input -
Database name...
Hi, Im getting this error..
Can't modify constant item in scalar assignment at ./pattern_search1.1 line 12, near """)"
here is my code:
print ("Enter the search pattern:\n");
$pattern = <STDIN>;
chop ($pattern);
open(FILENAME, "/home/x1207/GetNode/listdb.txt");
print ("Matches found:\n")...
Hello,
What I need help with is to search an input file with a specific text givin by user (this is ok with me). The next step is what Im having problems with, see the user only know a certain input. Will call it Cars. What the user needs is how many car are available.
usrer input-...
Does anyone know how to search and print out 10 or 20 lines.
Just say I have a input file call A. In the input file I have numbers 1 - 100. Each number on a new line. What I want to do is search for a number say 20. Then printed out 20, 21, 22...., up to 30 or 40.
is this possible with awk.
Hello, I have develop a awk script to look into three files.
Here is the problem. It works if for a 2 medium and 1 small input files, but it i use 3 medium files it does not come out.. the out is blank... Do you have any clues why???
see script at the bottom
How the scripts work from command...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.