Search Results

Search: Posts Made By: Mohan0509
1,369
Posted By Mohan0509
String Function in UNIX
Hi -
Have file1 which has the below date
08/31/2018
And also have file2 which has the below texts
ASOF:<CMODate>

FUND


I need to read the second file if it has colon (:) then move the date...
1,054
Posted By Mohan0509
Search a certain char and insert new text if a match found
Have a file which has the create statement like below

create table emp
( empno integer,
empname char(50))
primary index(empno);

i need to find a string starting with create and ends with...
3,637
Posted By Mohan0509
case statement in unix
Thanks robin, have modified the code and it works only if one file exists (it doesn't work in case redundant file name exists)

Have read the file testing today and written the below code based on...
3,637
Posted By Mohan0509
Case statement in UNIX shell script
have written the below code to check whether the string received from user is a file name or dir using case statement, but its going into default case*).


#!/bin/sh
#Get a string from user...
Showing results 1 to 4 of 4

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