Search Results

Search: Posts Made By: nmalencia
Forum: Red Hat 07-20-2009
3,306
Posted By nmalencia
Counting columns in a delimited record with NULLs
I am trying to count the number of columns in a delimited flat file. The record is tab delimited. When I use the command wc -w, I am getting unexpected results when the record contains a NULL...
4,850
Posted By nmalencia
cfajohnson : I didn't see your reply until after...
cfajohnson : I didn't see your reply until after I posted....I really like your solution because it allows me to parse the variable into the variable names that I want.

Here's my solution:...
4,850
Posted By nmalencia
This has all been very helpful....the following...
This has all been very helpful....the following is what I ended up with and it works great. I will be using this to parse out array elements that are delimited. Thanks!

#!/bin/ksh
VAR1=A~B~C~D...
4,850
Posted By nmalencia
mjd_tech : I tried both sets of replies and...
mjd_tech : I tried both sets of replies and yours worked...except I could not reference the new variables outside of the brackets. In other words I got the values echoed for a,b,c and d from the...
4,850
Posted By nmalencia
Can I use read to read content of a variable
Can I use the read command to read the contents of a variable? I'm trying by using the following code and getting nothing back. I'm in a Linux environment.

#!/bin/ksh
IFS=~
VAR1=1~2~3~4...
Forum: Solaris 06-11-2008
5,952
Posted By nmalencia
AIX to SOLARIS conversion - (find -cmin option)
I have a piece of code (below) in a .ksh script running on AIX. I need to convert the code to run .zsh on Solaris. Solaris's find command does not support the -cmin function. Suggestions??

The...
2,589
Posted By nmalencia
Extracting from a tar archive file
Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory?

For example the archive files may have a filename of ...
3,262
Posted By nmalencia
Wrong Forum
I chose the wrong Forum. I'm a newbie, and am just getting my feet wet. The should be posted to UNIX for Dummies, not UNIX Desktop for Dummies. I'm going to post this again to the right Forum.
3,262
Posted By nmalencia
Extracting from a tar file
Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory?

For example the archive files may have a filename of
...
Showing results 1 to 9 of 9

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