I am a Perl newbie so be easy on me! I have an array of multiple records (user_header1.txt) which looks something like:
name; color; groups; auth_method; internal_password;
111-13-3009 ;Foreground; {fwadmins};undefined;dd;
(where the 1st line is a header and the records follow.)
I am trying to...
I am trying to replace a particular field in a particular line. There are 2 choices: 1) line begins with name "eric"; 2) line number 2.
This is a script that replaces a field. How can I point it to the specific line???
#! /bin/ksh
read username?"Please enter your username:"...
I'm trying to replace a specific field (field #12) in a string of fields separated by ;. The value for the field is the user input so basically it's a variable. The following is my script that doesn't seem to be working (OS=AIX 4.3.3):
#! /bin/ksh
read username?"Please enter your...
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.