Where which keywords start from C that is known as camp-id like(1-C2014020657,1-C2014020671, 1-C2014020672 etc. ) and which word
start from T that is known as task-id like(1-T2014020668, 1-T2014020679, 1-T2014020680 etc.)
Now we have to add them corresponding camp-id & task-id, my output like should be below:
Where which keywords start from C that is known as camp-id like(1-C2014020657,1-C2014020671, 1-C2014020672 etc. ) and which word
start from T that is known as task-id like(1-T2014020668, 1-T2014020679, 1-T2014020680 etc.)
Now we have to add them corresponding camp-id & task-id, my output like should be below:
I don't get it. You say a camp-id keyword starts with C, but all of your examples start with 1-C. Then you say the task-id (which starts from T, but all of your examples start with 1-T and 1 of your requested output task-ids starts with 2-T even though 2-T doesn't appear anywhere in your sample input.
Please explain where the 1- and 2- come from if they are not part of the desired IDs. Please explain why 2-T2014020668 appears in the output when it does not appear at all in the input.
This User Gave Thanks to Don Cragun For This Post:
I ssh in and am trying to add a directory permanently to $PATH in centos 7 and having issues. My current $PATH is
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
but when I do a sudo nano ~/.bashrc
# .bashrc
# User specific aliases and functions
alias... (7 Replies)
Hello,
I need to add a part of folder name to the files inside it. For instance the file is
HMCBackup_20150430.155027.tgz
and it is under directory /nim/dr/HMCBackup/cops22
I need to add cops22 to the file name so as it would be cops22_HMCBackup_20150430.155027.tgz
Any help in doing... (10 Replies)
Hello,
drwxr-x--- 21 root system 4096 Jan 25 10:20 /testdir
here owner is root, group is system.
1) is it possible to add multiple groups to "/testdir" files/directories ?
if yes, please provide me the command.
my requirement is to
provide read-only access to user1 on /testdir... (6 Replies)
Hello everyone I am a newcomer to UNIX and I have hit a snag in something that would probably take experienced people about 30 seconds. Long story short I am trying to add a directory to my PATH and it is getting added but not working. I mean, the object of adding it to the path is so I can access... (2 Replies)
Guys,
I did a search on this but couldn't find any thing.
I need to add /home/scadm/scripts to the PATH. If I do the below it works for the session I'm in. If I close it and reopen it doesnt work.
PATH=$PATH\:/home/scadm/scripts ; export PATH
I also want this path added to all the... (3 Replies)
Hi Guys,
I need some tips on writing a Korn shell script that would look for certain lines of code and replace all the scripts in the directory with a few other lines. I have about 120 scripts that I need to modify.
Any suggestions would be appreciated!
Thanks,
Cool_avi (5 Replies)
Hi,
A simple and silly question on Unix.
I have a directory named "a" and I would like to grant permission to group name "text" to access, read and execute my directory.
Could anyone help me?
Thanks. (2 Replies)
Hello All (yes I mean you):
I'm a self taught programmer, so please bear with me and my ignorance.
What I Am Trying To Do:
I am attempting to create a user (and all the accompanying attributes like a home directory, entry in the passwd file, disk quota allotment and skel selection for a... (1 Reply)